TOML to JSON
Parse a TOML document and convert it into nested JSON you can copy.
Convert TOML to JSON
Top level keys: — · Status: —
How to use the TOML to JSON
- Paste your TOML document into the input box.
- Press Convert to JSON to parse the configuration.
- Copy the JSON output for use in your code.
Features
- Tables, dotted keys and arrays of tables
- Inline tables and inline arrays
- Basic, literal and multi-line strings
- Local parsing, no uploads
Advertisement
Frequently Asked Questions
Common questions about the free online toml to json.
Paste your TOML document into the input box and press Convert to JSON. The result appears
immediately in the output box.
Tables, arrays of tables, dotted and quoted keys, inline tables, inline arrays, strings,
integers, floats and booleans.
Date and time literals are kept as plain strings in the JSON output, because JSON has no date
type of its own.
Yes. Lines starting with a hash, and hash characters inside strings, are handled correctly
and left out of the JSON result.
Triple quoted basic and literal strings are supported, including escaped line endings inside
multi-line basic strings.
Each table in the array becomes an object inside a JSON array, so repeated blocks turn into a
list of records.
The later value replaces the earlier one, which matches how most TOML readers behave when a
key is repeated.
No. Everything is parsed locally in your browser, so your configuration never leaves your
device.
Yes. Feeding the JSON output into the JSON to TOML tool returns an equivalent document for
the supported subset.
Yes. The converter is completely free, unlimited and works in any modern browser without an
account.
Last updated: October 10, 2026