TOML to JSON Converter
Convert between TOML and JSON formats instantly
Direction:
Why Use This Tool?
- Bidirectional conversion between TOML and JSON formats.
- Lightweight parser for fast, accurate conversion.
- All processing in your browser — no server involved.
How to Use
- Select the conversion direction (TOML→JSON or JSON→TOML)
- Paste your TOML or JSON into the input area
- The converted output appears instantly
- Click Copy to copy the result
FAQ
What is TOML?
TOML (Tom's Obvious Minimal Language) is a configuration file format that is easy to read. It is used by Rust (Cargo.toml), Python (pyproject.toml), and many other tools.
Does this handle TOML tables and arrays?
Yes. The converter handles all TOML features including tables, arrays of tables, inline tables, multiline strings, and datetime values.
Can I convert JSON to TOML?
Yes. Toggle the direction to JSON→TOML and paste JSON on the right side.
What TOML version is supported?
This tool supports TOML v1.0 specification using the smol-toml parser.