YAML to TOML

Move configuration from YAML to TOML in one step.

Use the tool

Why this tool exists

The YAML is parsed (including anchors, merge keys and block scalars) and written as TOML with tables, nested tables and arrays of tables. Because TOML has no null and requires a table at the top level, those cases are reported rather than silently altered. Mixed-type arrays are allowed in modern TOML.

Comments are not carried over, since the conversion goes through data. Check dates and numbers after conversion.

No data is sent anywhere: the work happens in your browser, so you can use it offline once the page has loaded.

How to use it

  1. Paste YAML.
  2. Run the conversion.
  3. Review tables and arrays of tables.
  4. Save as .toml.

Frequently asked questions

Are comments kept?

No. Only data is converted.

What about YAML null?

TOML cannot represent it, so remove or replace those keys.

Can I go back?

Yes, with the TOML to JSON and JSON to YAML tools.

Is my data sent anywhere?

No. Everything is processed in your browser, and the page makes no network requests with your input.