TOML to JSON converter
Convert TOML to JSON and JSON to TOML, with the exact line shown when there is a syntax error.
How to useConvert TOML and JSON.
TOML to JSON converter: what it is for
Convert TOML files such as pyproject.toml, Cargo.toml, netlify.toml and wrangler.toml into formatted JSON, or go the other way. Conversion is instant, shows the error message when the syntax is wrong and lets you copy or download the result.
Everything runs in your browser: nothing you paste or open is sent to a server.
How to use
- Choose the conversion direction.
- Paste the TOML or JSON.
- Copy or download the result.
When to use it
- Read configuration files in another format.
- Generate TOML from JSON data.
- Check the syntax of a TOML file.
Frequently asked questions
Where is TOML used?
In configuration files such as Python’s pyproject.toml, Rust’s Cargo.toml, netlify.toml, Cloudflare’s wrangler.toml and Hugo’s config.toml.
What do TOML dates become in JSON?
TOML dates and times become ISO 8601 text (for example 2024-05-01T10:00:00Z), since JSON has no date type.
Does my data leave the browser?
No. The conversion runs entirely in your browser.
Is it really free?
Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 are free.