Free TOML to JSON Converter
Something not working? Report a problem
About the TOML ↔ JSON Converter
Convert TOML to JSON and JSON back to TOML instantly — with pretty-print and clear error messages for invalid input, all in your browser with no upload.
How to use the TOML ↔ JSON Converter
- 1Pick the direction: TOML → JSON or JSON → TOML.
- 2Paste your document — the conversion appears instantly.
- 3Any syntax errors are shown with the location in the input.
- 4Click Copy to grab the result.
Frequently asked questions
What is TOML?
TOML (Tom's Obvious, Minimal Language) is a config file format designed to be easy to read. It's used by Rust (Cargo.toml), Python packaging (pyproject.toml), Hugo, and many other tools.
Are TOML comments preserved when converting to JSON?
No — JSON has no comment syntax, so comments are dropped. Everything else (strings, integers, floats, booleans, arrays, tables) converts faithfully.
What TOML version is supported?
TOML v1.0, the current stable specification.
Is my data uploaded anywhere?
No. Conversion runs entirely in your browser using the smol-toml library — nothing leaves your device.
More file converters
View allImage to Base64Convert an image to a Base64 data URI you can paste straight into HTML, CSS or code — encoded in your browser with no upload.CSV ↔ JSON ConverterConvert CSV to JSON and JSON back to CSV — header row and delimiter options, quoted fields handled properly, all in your browser with no upload.JSON ↔ YAML ConverterConvert JSON to YAML and YAML back to JSON instantly — with clear error messages for invalid input, all in your browser with no upload.Markdown PreviewerWrite or paste Markdown and see the rendered result live — then copy the clean HTML, all in your browser with nothing uploaded.