TOML ⇄ JSON Converter
Tom's Obvious Minimal Language
Free forever — no sign-up, nothing uploaded. Files never leave your device.
TOML ⇄ JSON Converter
Tom's Obvious Minimal Language
Drop your file here
or browse from your device
Browse filesdocument.pdf
1.2 MB
report.pdf
860 KB
100% private
Nothing is uploaded — everything runs in your browser.
Free forever
No account or payment required.
No sign-up
Open the tool and start using it right away.
Local processing
Processing time depends on your input and device.
About this tool
Convert TOML to JSON and back, including array-of-tables ([[servers]]) and datetime values.
The TOML ↔ JSON Converter is a bidirectional format translation tool that converts between Tom's Obvious Minimal Language (TOML) configuration files and JSON data. It's essential for Rust, Python, and Go developers who work with Cargo.toml, pyproject.toml, and other TOML-based configuration files but need to interoperate with JSON-based tools, APIs, and data pipelines.
TOML's strengths — explicit type declarations, date/time support, dotted key notation, and table arrays — map naturally to JSON structures, and this converter handles all mappings correctly: TOML tables become JSON objects, arrays become arrays, dates become ISO 8601 strings, and dotted keys are expanded into nested objects. The reverse direction ensures that JSON data is formatted as clean, idiomatic TOML with proper section headers and type-appropriate values.
For developers migrating configuration systems, integrating TOML configs with JSON APIs, or building tooling that needs to read TOML files programmatically through a JSON intermediate format, this converter provides instant, accurate translation. All processing is client-side — your configuration files and their contents never leave your browser.
Key features
Everything you get with TOML ⇄ JSON Converter — no premium upsell.
Bidirectional: TOML → JSON and JSON → TOML conversion
Full TOML spec support: tables, arrays, dotted keys, inline tables, dates
Proper type mapping: TOML dates to ISO 8601, integers, floats, booleans, strings
Idiomatic output formatting for both formats
Clear error messages for invalid TOML or JSON syntax
Client-side — configuration data never transmitted to any server
How to use TOML ⇄ JSON Converter
Follow the steps below to use the tool.
- 1
Choose Direction
Select whether to convert TOML to JSON or JSON to TOML.
- 2
Paste Source Data
Insert your TOML configuration or JSON data into the input area.
- 3
Convert
Click convert to produce the output in the target format, with proper type mappings and formatting.
- 4
Copy or Download
Copy the converted output to clipboard or download as a file for use in your project.
Still free, still private — your files never leave your device.
Launch TOML ⇄ JSON ConverterFrequently asked questions
Quick answers before you launch the tool.
Related tools
Saved you searching — here are similar utilities.