YAML to TOML Converter
runs in your browserno sign-upfree
Convert YAML to TOML: mappings become [tables] and lists of mappings [[arrays of tables]]. Nulls, which TOML lacks, are listed rather than silently dropped.
Converted to TOML
About this tool
Convert YAML to TOML: mappings become [tables], lists of mappings become [[arrays of tables]], and anchors and aliases are expanded. The YAML must be a single document with a mapping at the top; nulls, which TOML lacks, are listed so nothing disappears unnoticed.
How to use
- Paste your YAML into the left box.
- The TOML appears on the right, with a note about any values left out.
- Copy it or download it as a .toml file.
FAQ
Why are some values missing from the TOML?
TOML has no null (empty) value, so keys set to null can’t be written. The converter leaves them out and lists exactly which ones, so you can decide to remove them or give them a value such as "" or false.
What is TOML?
TOML (Tom’s Obvious Minimal Language) is a config-file format designed to be easy to read: key = value pairs grouped under [section] headers. Rust (Cargo.toml), Python (pyproject.toml), Hugo, Netlify and many other tools use it.
Is my config uploaded?
No. Conversion happens in your browser — configs often contain secrets, and they never leave your device.