Convert between TOML and JSON. Auto-detects direction from input format.
Free online TOML ↔ JSON converter. Paste TOML configuration to get JSON output, or paste a JSON object to get TOML format. Auto-detects the input format and converts in the right direction. Supports the full TOML v1.0.0 spec including sections, arrays of tables, inline tables, and all TOML data types. Perfect for Rust developers (Cargo.toml), Python (pyproject.toml), and Hugo/Zola static site configurations. Runs entirely in your browser.
Keywords: toml to json, json to toml, toml converter, toml parser online, cargo toml converter, pyproject toml, toml online tool, convert toml to json, toml json converter, rust config toml, hugo toml, toml validator
Tags: toml, json, converter, config, rust, cargo, pyproject
Choose the conversion direction: JSON to TOML or TOML to JSON.
Paste your input into the input area on the left.
Click Convert or press ⌘↵ (Mac) / Ctrl+Enter (Windows) to convert.
Copy the output or download it as a .toml or .json file.
Converts JSON to TOML and TOML back to JSON.
Supports nested objects, arrays of tables, and inline tables.
TOML output is formatted for readability with section headers for nested objects.
Validates input before conversion and reports parse errors with clear messages.
Works entirely in your browser — data never leaves your device.
Keyboard shortcut ⌘↵ for instant conversion.