How to use the TOML to JSON Converter
- Paste TOML or JSON and pick the direction.
- Fix any error shown with its line number.
- Copy or download the result.
What does this tool do?
TOML is the config format behind Rust's Cargo, Python's pyproject.toml, Hugo and Netlify. Converting to JSON makes it easy to process with other tools; converting back gives you a tidy, readable config with [tables] and [[arrays of tables]]. Dates and times are kept as text.
Everything runs in your browser — nothing you paste is uploaded.
Why use it?
- Both directions.
- Validates as you type.
- Clear error lines.
Privacy
Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.
Last reviewed by the M2Toolkit team.