Privacy: Processing happens locally in your browser. No input is uploaded.
JSON ↔ TOML Converter
Move configuration data between JSON and TOML without uploading it. Convert in either direction, inspect the result, then copy or download it.
Convert JSON configuration to TOML
TOML represents configuration with keys, tables and arrays of tables. Use JSON → TOML when moving structured settings into tools that prefer TOML, including Python and Rust projects. Use TOML → JSON when an API, script or editor needs the same data as JSON.
Conversion limitations to review
| Value | What to expect |
|---|---|
| Objects | Become TOML tables |
| Arrays of objects | Become arrays of tables |
| Dates | TOML dates parse to date values and are serialized to JSON strings |
null | TOML has no null value; JSON containing null cannot be represented directly |
| Top-level arrays | TOML documents require a top-level table |
Review the generated file before replacing production configuration. Related tools include JSON to YAML, YAML to JSON, and JSON Formatter.
Private browser conversion
The parser and serializer are bundled with this page. Your configuration stays in the browser, which is useful for local development files that may contain internal hostnames or environment-specific settings.
How to use this tool
- Paste or upload the source into the left editor.
- Choose the relevant options and run the transformation.
- Review the right-hand output, then copy or download it.
Frequently asked questions
Does this tool upload my input?
No. Processing happens in the browser.
Can I download the output?
Yes. Use the Download button after generating the result.
Should I review the result?
Yes. Generated and transformed output should be checked against the requirements of the system that will consume it.