XML → JSON.
Read XML into a structured JSON node tree with tags, attributes, text and children.
Add your files
XMLDrag & drop XML files here
or select files from your device
Your files 0
Ready to convert
Converted files
Completed files will appear here
How to convert XML to JSON
Choose your XML file
XML uses elements, attributes and text nodes that do not map one-to-one to JSON keys. Include one row with dates, quotes or leading-zero identifiers to check how values are interpreted.
Create the JSON file
Select your file and start the conversion. Download the JSON result when it appears.
Check the result
JSON distinguishes objects, arrays, strings and numbers; inspect types and nested fields. Check the first and last records and a field containing punctuation or a leading zero.
Frequently asked questions
Does XML to JSON run locally?
Yes. Conversion happens entirely in your browser. No uploads or credits.
Can I convert files in batches?
Yes. Select up to 30 files (15 MB per file) and download individually or together as a ZIP.
How are nested fields handled in XML to JSON?
The two formats have different data models. Verify nested arrays, attributes, null values and type conversion in the JSON output before importing it into another system.