📝 TOML ⇔ JSON / YAML Converter
Convert TOML ⇔ JSON and TOML ⇔ YAML in both directions. Ideal for editing Hugo config.toml, Cargo.toml, and pyproject.toml.
✅ 100% free, no signup, runs entirely in your browser (powered by @iarna/toml + js-yaml)
🔒 About Privacy
- ・All processing happens entirely in your browser
- ・Your input data is never sent to any server
Copied
📖 How to Use
-
1
Paste TOMLPaste TOML on the left or pick a sample (Hugo / Cargo / pyproject).
-
2
Pick the target formatPick JSON or YAML. For JSON, choose 2/4 spaces or minify.
-
3
Convert both directionsResults appear on the right. Reverse direction (JSON/YAML → TOML) updates live too.
❓ FAQ
What is TOML?
Stands for Tom's Obvious, Minimal Language. INI-like readability with explicit types — widely used in Cargo (Rust), Hugo, and pyproject.toml.
How are dates and times handled?
TOML has datetime / date / time types. They become ISO 8601 strings in JSON and proper YAML types when converting to YAML.
Can I convert YAML or JSON back to TOML?
Yes. Paste JSON or YAML on the right and click → TOML, or keep auto-convert on. Some structures TOML cannot represent (e.g. mixed-type arrays) are skipped.
🔗 Related Tools
🐛 Found a bug or issue with this tool?
Free to use, no signup. Even just the steps to reproduce are helpful. Reports go directly to the operator and help us fix issues.
✅
Thanks for your report!
Your report has been delivered to the operator and will be used to improve the tool.