Code tool

TOML to YAML Converter

Paste TOML, convert it in your browser, then copy or download YAML without uploading configuration data.

In-browser processingNo account requiredPrivacy details ↗

TOML up to 100,000 characters. Supports tables, arrays, strings, booleans, numbers, inline tables, and dates.

A QUICK WALKTHROUGH

How to use this tool

  1. Paste TOML up to 100,000 characters, including tables, arrays, strings, numbers, booleans, or dates.
  2. Convert and review the YAML output and any syntax boundary message.
  3. Copy the YAML or download it as a .yaml file.

TOML values and dates

The converter supports quoted and literal strings, booleans, finite integers and floats, arrays, inline tables, and RFC 3339 local or offset date/time values. Dates are emitted as quoted YAML strings so the value is not silently changed by a YAML parser.

Tables, arrays, and safe limits

Dotted table headers create nested mappings, while arrays and inline tables stay as YAML sequences and mappings. Array-of-table headers ([[table]]) are outside this focused converter; mixed arrays are rejected. Input is limited to 100,000 characters and nesting is limited to eight levels to keep output bounded and readable.

Local processing

Parsing, YAML serialization, copying, and download preparation happen in your browser. Nothing is sent to a server.

GOOD TO KNOW

Common questions

Are dates converted to YAML dates?

No. TOML dates and times are quoted strings in the YAML output so their exact spelling and timezone information remain intact.

Can arrays contain different types?

No. TOML arrays are required to contain compatible values here; mixed arrays produce a clear error instead of ambiguous YAML.

Does this upload my TOML?

No. Conversion runs locally in your browser.