TOML to JSON Converter

About this tool

Paste a TOML configuration file and convert it to pretty-printed JSON. The built-in parser understands [table] and dotted [a.b] headers, key = value lines, strings, integers, floats, booleans, inline arrays, and [[arrays of tables]] — the core syntax you meet in Cargo.toml, pyproject.toml and similar files.

Malformed input, such as a broken header or an unterminated string, is reported with the offending line number instead of failing silently, so you can locate the problem quickly. Everything runs locally in your browser — your configuration is never uploaded to any server.

Related tools

JSON FormatterYAML FormatterJSON ↔ URL Query