Loona Automation logoLoona Developer Tools
Home › Data Converters

YAML to TOML Converter

In short: paste YAML and get TOML — the conversion pivots through the data model, then applies TOML layout rules (scalars before tables, [[array tables]] for lists of objects).
🔒 Private by design: everything runs in your browser on this device. Your input is never uploaded to a server.

Example

Input:

title: Demo
owner:
  name: Ali

Output:

title = "Demo"

[owner]
name = "Ali"

About this converter

YAML and TOML meet in the same data model but insist on different layouts, so this converter parses the YAML (the everyday subset: block mappings/sequences, scalars, flow collections) and writes TOML with its required ordering — bare key/values first, then [tables], then [[array tables]]. YAML-only features with no TOML home (anchors, multi-line block strings beyond basic strings, null) are the boundaries: null in particular has no TOML representation and is reported instead of being dropped silently.

Frequently Asked Questions

Why might the key order change?

TOML requires scalars before table headers; within each group the original order is preserved.

What YAML is supported?

The config-file subset — the same subset as this site's YAML to JSON converter.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.