>_devtools

TOML to YAML Converter

Convert TOML to YAML while keeping tables, arrays of tables, and values.

What this does

Converts TOML to YAML. Tables become nested mappings, arrays of tables become sequences of mappings, and scalar types are preserved.

Notes

TOML dates and times are written as plain ISO 8601 scalars. Comments in the TOML are not carried over because they are not part of the parsed data. The reverse direction, YAML or JSON to TOML, is on its own page.

Example

[database] followed by ports = [ 8000, 8001 ] becomes a database: mapping with a ports: list of two numbers.

Privacy

Everything runs in your browser. Your input is never uploaded, stored, or put in the URL.