JSON to TOML
Convert a JSON object into valid TOML configuration with tables and arrays of tables.
Convert JSON to TOML
Top level keys: — · Status: —
How to use the JSON to TOML
- Paste a JSON object into the input box.
- Press Convert to TOML to build the configuration.
- Copy the TOML output with the Copy TOML button.
Features
- Tables, arrays of tables and dotted keys
- Inline tables and inline arrays
- Strings, integers, floats and booleans
- Runs locally, no uploads
Advertisement
Frequently Asked Questions
Common questions about the free online json to toml.
Paste a JSON object into the input box and press Convert to TOML. The TOML document appears
instantly in the output box.
Tables, arrays of tables, dotted and quoted keys, inline tables, inline arrays, strings,
integers, floats and booleans.
Dates in the JSON input are plain strings, so they are written as quoted TOML strings. Treat
them as text in your own code.
No. A TOML document is a set of tables, so the top level of the JSON input must be an object.
Each nested object becomes its own table header, and deeper objects use dotted headers such
as owner.address.
Yes. An array whose items are all objects becomes a TOML array of tables using double
brackets around the table name.
No. The conversion runs entirely in your browser and your JSON never leaves your device.
Invalid JSON, an Infinity or NaN number and an object inside an inline array stop it. Null
values are skipped.
Yes. Passing the TOML output through the TOML to JSON tool gives the same data back for the
supported subset.
Yes. It is completely free, works in any modern browser and needs no account or sign up.
Last updated: October 10, 2026