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?
Qu’est-ce que 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.
Comment l’utiliser
-
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.
Exemples
pyproject.toml to JSON
A minimal Python project config.
[project] name = "uttir" version = "0.1.0" [project.dependencies] python = "^3.11"
Résultat : { "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} Résultat : name = "uttir" version = "0.1.0" private = true
Questions fréquentes
Outils associés
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.
Formateur et Validateur JSON
Formatez, embellissez et validez du JSON. Gratuit, dans votre navigateur, sans téléversement.
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-09-25