TOML to YAML
Convert a TOML document into YAML.
Loading tool…
About the toml to yaml
Reads a TOML file — Cargo manifests, pyproject files, Netlify configs — and re-emits it as YAML. Tables become nested mappings, arrays of tables become lists, and native dates and times are preserved as typed values.
Frequently asked questions
Do TOML dates survive the conversion?
Yes. TOML has real date and time types, and they map to YAML timestamps rather than being flattened into strings.
What happens to arrays of tables?
A repeated [[section]] block becomes a YAML list of mappings, which is the direct equivalent and reads more naturally in most cases.