TOML to JSON Converter
Convert TOML configuration files to JSON - supports tables, arrays, strings, numbers, booleans, and arrays of tables.
Paste your TOML content below - this tool parses common TOML syntax and converts it to JSON.
This supports TOML's commonly-used syntax (tables, arrays, arrays of tables, basic value types) - unsupported or invalid syntax is reported clearly rather than silently producing wrong output.
What TOML Syntax Is Supported?
Key-value pairs, [table] and nested [table.subtable] headers, [[array.of.tables]], strings, integers, floats, booleans, and inline arrays - the syntax most real-world TOML configuration files (like Cargo.toml or pyproject.toml) actually use.
How to Use It
- Paste your TOML content.
- Click Convert.
- Copy or download the resulting JSON.
Limitations
Some less common TOML features (multi-line strings, inline tables, datetime values with full RFC 3339 precision) may not be fully supported - unsupported syntax is reported as a clear parse error rather than silently producing incorrect output.