About this tool
Convert TOML to JSON or JSON back to TOML instantly as you type — handy for inspecting Cargo.toml, pyproject.toml, netlify.toml and other modern config files, or for generating them from JSON data. Pick the direction, choose the JSON indentation (2 or 4 spaces, or minified), and use the swap button to feed the output back in and flip the direction.
The full TOML 1.0 syntax is supported: nested tables become nested JSON objects, [[arrays of tables]] become JSON arrays of objects, and TOML date-time values are emitted as ISO 8601 strings in the JSON output. Syntax errors are reported with the parser's message, including the offending line and a caret pointing at the exact position, so the tool doubles as a quick TOML validator.
Everything runs in your browser with an open-source TOML parser — your config files, which often contain registry tokens, connection strings and other secrets, are never uploaded anywhere. No account, no server, and it keeps working offline.