TOML to JSON
Turn TOML (Cargo.toml, pyproject.toml, netlify.toml and more) into equivalent JSON, or convert JSON into TOML. Supports tables, arrays of tables, inline tables, dotted keys, multi-line strings and native datetimes. Errors are reported with line and column, and every lossy step, such as datetimes becoming strings or nulls being dropped, is listed.
Output will appear here…
TOML 1.0: tables, arrays of tables, inline tables, dotted keys, multi-line strings and native datetimes (emitted as ISO-8601 strings, because JSON has no date type).
Related tools
YAML to JSON
Convert YAML into strict JSON, with multi-document streams, YAML-only types and duplicate keys handled.
XML to JSON
Convert XML to JSON and JSON back to XML, with attribute, text-node, namespace and array controls.
JSON to YAML
Convert JSON into clean YAML with control over quoting, wrapping, anchors and multi-document output.
How to use TOML to JSON
- 1Choose TOML → JSON or JSON → TOML. Swap reverses the direction using the current output.
- 2Paste or upload, or load a preset (Cargo, pyproject, netlify) to see the shapes.
- 3For JSON → TOML, decide whether ISO-8601 strings become native datetimes and whether nulls are dropped.
- 4Copy or download the result.
About TOML to JSON
Turn TOML (Cargo.toml, pyproject.toml, netlify.toml and more) into equivalent JSON, or convert JSON into TOML. Supports tables, arrays of tables, inline tables, dotted keys, multi-line strings and native datetimes. Errors are reported with line and column, and every lossy step, such as datetimes becoming strings or nulls being dropped, is listed.
TOML to JSON is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.