TOML ↔ JSON Converter — TOML (Tom's Obvious Minimal Language) is the configuration format you will find in pyproject.toml, Cargo.toml, and many other modern config files. It is designed to be easy to read and unambiguous — there is exactly one way to write any value.
Conversion runs locally in your browser. Your config never leaves the page.
Was TOML ↔ JSON Converter useful?
What is toml ↔ json converter?
TOML (Tom's Obvious Minimal Language) is the configuration format you will find in pyproject.toml, Cargo.toml, and many other modern config files. It is designed to be easy to read and unambiguous — there is exactly one way to write any value.
This tool converts between TOML and JSON in both directions. JSON-to-TOML is useful when you have data in code and want a clean config file. TOML-to-JSON is useful when you want to inspect a TOML file as a tree, or feed it into a script that only accepts JSON.
How to use it
-
Choose direction
Toggle between TOML → JSON and JSON → TOML.
-
Paste your input
The output updates as you type. JSON-to-TOML expects a JSON object (or array) at the top level.
-
Copy or download
Use Copy to grab the converted text, or Download to save as a file.
Examples
pyproject.toml to JSON
A minimal Python project config.
[project] name = "uttir" version = "0.1.0" [project.dependencies] python = "^3.11"
Result: { "project": { "name": "uttir", "version": "0.1.0", "dependencies": { "python": "^3.11" } } }
JSON to TOML
A small config object emitted as TOML.
{"name": "uttir", "version": "0.1.0", "private": true} Result: name = "uttir" version = "0.1.0" private = true
Frequently asked questions
Related tools
JSON to YAML Converter
Convert JSON to clean YAML and decode YAML back to JSON. Round-trips common JSON shapes.
YAML to JSON Converter
Parse YAML into structured JSON, instantly in your browser. Useful for reading Kubernetes manifests, GitHub Actions workflows, and any YAML config.
JSON Formatter
Format, beautify, and validate JSON with adjustable indentation — instantly in your browser.
JSONPath Query
Query any JSON document with JSONPath syntax — extract fields, filter arrays, count matches. A free, in-browser jq-lite for everyday JSON inspection.
Last reviewed: 2026-08-26