Developer & Text · JSON, YAML & XML Converter
Convert between JSON, YAML, TOML and XML
Quick answer
Open Toolfox → JSON, YAML & XML Converter, paste your data and pick the target format; the result updates as you type. The input format is detected automatically, key order is kept, and data the target can't express is reported instead of changed. It runs entirely on your computer (Mac, Windows or Linux). Files are never uploaded.
How to do it
- Open JSON, YAML & XML Converter.
- Paste data or open a file.
- Choose To: JSON, YAML, TOML or XML. From is detected automatically.
- Copy the result or Save… it as converted.yaml (or .json, .toml, .xml).
Options you can set
- From
- To
- JSON indent
- Root element name
Good to know
- Key order is kept. Comments aren't carried over, because JSON has no comments.
- XML mapping: attributes become “@name” keys, text becomes “#text”, repeated elements become lists, and all XML values are text.
- TOML has no null and needs keys at the top level; data that can't be expressed is reported instead of changed.
- Very large or very precise numbers may lose precision (they are stored as 64-bit values). Dates from TOML become text.
JSON, YAML & XML Converter FAQ
Are comments kept?
No. Comments aren't carried over, because JSON has no comments.
How is XML mapped?
Attributes become “@name” keys, text becomes “#text”, repeated elements become lists, and all XML values are text.
Will big numbers keep their precision?
Not always. Numbers are stored as 64-bit values, so very large or very precise numbers may lose precision. Dates from TOML become text.
Is JSON, YAML & XML Converter in Toolfox free?
Yes. JSON, YAML & XML Converter is one of 57 tools in Toolfox, a free app for Mac, Windows and Linux with no account, ads, limits or watermarks.
Does JSON, YAML & XML Converter upload my files?
No. Toolfox processes files on your own computer and works offline; your files are never uploaded.
More developer & text tools in Toolfox
Get JSON, YAML & XML Converter and 19 more tools.
Free forever. No account. Works offline. For macOS, Windows and Linux.
Updated 2026-10-18 · Toolfox v0.2.1