Skip to content
ZeroServer.tools

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