TOML to JSON Converter
Runs in your browser — your files are never uploaded.
Convert a TOML config — Cargo.toml, pyproject.toml, netlify.toml, wrangler.toml — into JSON. The full TOML 1.0 grammar is supported, so arrays of tables, inline tables, dotted keys and datetimes all land in the right shape rather than being approximated. If the file has a syntax error you get the line and column, which is the only useful thing an error can tell you about a 300-line config. Runs entirely in your browser.
How to convert TOML to JSON
- 1
Drop your .toml file onto the box, or click to choose one.
- 2
Pick an indent width if you want the JSON formatted differently.
- 3
Click “Download” to save your .json file.
Share
Embed this tool on your site
Paste this where you want the tool to appear. It runs entirely in your visitor's browser — no uploads, no account, no tracking.
Please keep the attribution line — it's what keeps these tools free.
Need a different size, a dark theme, or a different tool? Build an embed lets you preview it first.
Frequently asked questions
What does [[section]] become?+
An array of objects. A double-bracketed header is TOML’s array-of-tables syntax, so several [[bin]] blocks in a Cargo.toml become "bin": [ … ] in the JSON.
How are dates converted?+
TOML has real datetime types; JSON does not. They come through as ISO 8601 strings, which is the closest faithful representation — worth knowing if you convert back, since the type is not recoverable.
Does it handle dotted keys and nested tables?+
Yes. Both [profile.release] and a dotted key like profile.release.lto produce the same nested objects, exactly as a TOML parser in your language would.
Is my config file uploaded?+
No. Parsing runs entirely on your device — which matters for config files, since wrangler.toml and its equivalents routinely carry account IDs, bucket names and other things worth not pasting into a stranger’s server.