TOML Converter (JSON ⇄ YAML ⇄ TOML)

Convert between JSON, YAML, and TOML in any direction

JSON Input

TOML Output

About this converter

Convert between JSON, YAML, and TOML by round-tripping through a JavaScript object. Comments are not preserved (none of the three formats round-trip them through a generic object model). TOML output requires a top-level object — arrays or primitives at the root cannot be expressed as TOML.