TOML ↔ JSON Converter

Convert TOML to JSON and back. Handles nested tables, arrays of tables, inline tables, multi-line strings, and TOML's native datetime types. Useful when moving config between formats — pyproject.toml vs package.json, Cargo.toml vs npm config, etc.

How to use the TOML ↔ JSON Converter

Paste TOML to convert to JSON, or paste JSON to convert to TOML. The TOML parser supports the full TOML 1.0 spec including tables, arrays of tables, inline tables, and dotted keys.