TOML to YAML converter
To convert TOML to YAML, drop your TOML file in the box below. It converts straight away; press Download to save the YAML. It all happens in your browser, so your file stays on your device.
Convert to
Converted on this device, never uploaded
What changes
| TOML to YAML | What happens |
|---|---|
| Read by | Our own TOML 1.0 reader, checked against Python’s tomllib |
| Errors | A file that breaks TOML’s rules is refused with the line and the reason |
| Tables | Become nested mappings |
| Multi-line strings | Written as | blocks when they round-trip exactly |
| Dates and times | Written as quoted text, exactly as in the file |
How to convert TOML to YAML
- Add your TOML. Drop the file in the box, or click to choose it. It becomes YAML straight away.
- Check the result. Look at the preview and the size. The defaults are right for most files.
- Download. Press Download to save the YAML.
Why YAML
Move settings from TOML to YAML, for a tool that reads YAML or a file that is easier to read with indentation.
Questions
No. Comments are not part of the data, so neither JSON nor YAML gets them.
No. It is read and converted in your browser and never uploaded.
No. The conversion happens right in your browser, so your file stays on your device. There is no account to make, either.