Structure preserved
Nested mappings become [tables]; lists of mappings become [[arrays of tables]].
Move configuration from YAML to TOML with tables and arrays of tables.
Convert YAML to TOML: mappings become [tables], lists of mappings become [[arrays of tables]]. Useful when moving configs between tools. Free and private.
app:
name: shop
port: 8080
features:
- export
- betafeatures = ["export", "beta"]
[app]
name = "shop"
port = 8080Tip: The top level must be a mapping, because a TOML document is always a table.
Nested mappings become [tables]; lists of mappings become [[arrays of tables]].
Numbers, booleans and lists keep their types in TOML.
TOML has no null; such keys are left out and counted in a comment.
Keys are quoted only when they contain spaces or symbols.
Tools such as Hugo, Cargo and pyproject-based Python projects use TOML, which has no indentation pitfalls.
No, comments are not part of the data and are dropped.
Common config YAML: mappings, lists, quoted strings, numbers and booleans. Anchors and multi-document files are not supported.
Yes, the conversion runs in your browser.