YAML to TOML converter
To convert YAML to TOML, drop your YAML file in the box below. It converts straight away; press Download to save the TOML. It all happens in your browser, so your file stays on your device.
Convert to
Converted on this device, never uploaded
What changes
| YAML to TOML | What happens |
|---|---|
| Mappings | Become [tables]; lists of mappings become [[arrays of tables]] |
| null | Left out: TOML has no null |
| Checked | The results read back the same in Python’s tomllib |
How to convert YAML to TOML
- Add your YAML. Drop the file in the box, or click to choose it. It becomes TOML 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 TOML.
Why TOML
Move settings from YAML to TOML, for a tool that reads TOML.
Questions
No. Comments are not part of the data the YAML holds.
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.