XML → JSON
Faithful JSON version of any XML tree.
All tools
Drop your XML file
Faithful JSON version of any XML tree. Converted in your browser — nothing is uploaded.
Processed in your browser — your files never leave this device.
How to use
- 1Choose the XML file you want to convert.
- 2Select XML to JSON.
- 3Download the JSON file.
Questions
- Is the JSON a faithful copy of my XML?
- Yes. The root tag is kept, nested elements become nested objects, and repeated elements become arrays.
- What happens to elements with no children?
- They become plain text values in the JSON.
- What if my XML is not valid?
- The tool reports that the file is not valid XML, so fix the tags and try again.
Limits and privacy: One XML file, up to 15 MB. Files are processed in your browser and are never uploaded to our servers.
Related tools
How was this tool?
No ratings yet — be the first.