TOML to JSON Converter
Convert TOML configuration files to JSON format
All processing happens in your browser. No data is sent to any server.
JSON Indentation
Paste TOML above to convert it to JSON. Supports tables, arrays of tables, strings, numbers, booleans, and inline arrays/tables.
Why This Tool
TOML is the configuration format for Rust (Cargo.toml), Python (pyproject.toml), Hugo, and many other tools. When you need to process TOML data in a JSON-based workflow or debug config values, this tool converts TOML to formatted JSON instantly in your browser.
How It Works
Paste your TOML into the input area. The tool parses the TOML syntax including tables, arrays of tables, inline tables, and all TOML data types. The JSON output appears instantly with proper formatting. Syntax errors are reported with line numbers.