TOML to JSON Converter
Convert TOML configuration files (Cargo.toml, pyproject.toml…) to JSON.
TOML format and conversion notes
TOML (Tom's Obvious, Minimal Language) is a config-file format used by Rust (Cargo.toml), Python (pyproject.toml), Hugo, and others. Key features: [sections] become JSON objects, [[arrays]] become arrays of objects, dotted keys like a.b = 1 create nested objects. TOML special floats (inf, nan) are converted to null since JSON has no equivalent. Datetimes are preserved as ISO 8601 strings. All processing runs in your browser. Related: XML to YAML converter and JSON formatter.
Private & free — this tool runs entirely in your browser.
Recommended: IndieKit — Ship your Next.js startup in days.affiliate
Related Converters tools
JSON to YAML
Convert JSON into clean, readable YAML instantly.
YAML to JSON
Convert YAML configuration into valid JSON.
JSON to CSV
Flatten a JSON array of objects into CSV rows.
CSV to JSON
Parse CSV with headers into a JSON array of objects.
JSON to XML
Convert JSON structures into nested XML markup.
JSON Minifier
Strip whitespace to produce compact JSON.
JSON to TypeScript
Generate TypeScript interfaces from a JSON sample.
JSON to SQL
Turn a JSON array of objects into SQL INSERT statements.