Code converter

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.

Converted on this device, never uploaded

What changes

YAML to TOMLWhat happens
MappingsBecome [tables]; lists of mappings become [[arrays of tables]]
nullLeft out: TOML has no null
CheckedThe results read back the same in Python’s tomllib

How to convert YAML to TOML

  1. Add your YAML. Drop the file in the box, or click to choose it. It becomes TOML straight away.
  2. Check the result. Look at the preview and the size. The defaults are right for most files.
  3. 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.

Related conversions