JSON to TOML Converter
Convert JSON to TOML and TOML back to JSON.
Runs entirely in your browser.
Convert Between JSON and TOML
About JSON to TOML Converter
TOML is a configuration format built to be obvious to read, and it is what Cargo.toml, pyproject.toml and netlify.toml use. It maps onto the same shapes as JSON - tables become objects, arrays become arrays - so most documents convert cleanly in both directions.
Two differences are worth knowing. TOML has no null, so keys with a null value are left out and listed for you rather than silently dropped. And TOML cannot have an array at the top level, so a JSON document that starts with [ needs wrapping in an object first.
Other Format Converters
- YAML to TOML — and back
- JSON to YAML — and back
- XML to JSON — and back
- JSON to CSV — and back
- JSON Formatter — beautify, minify and validate