Free online XML to JSON converter - attributes and arrays kept
Convert directly in your browser, with no upload waiting time, and no risk of data leaks.
Simply choose your XML file and the tool will create a JSON file for you!
Same job, two ways — pick the one that fits your file:
| Online | App | |
|---|---|---|
| Free | ✓ | Trial |
| No install | ✓ | — |
| No upload | ✓ | ✓ |
| Large files / batch | ✗ | ✓ |
| GUI | ✓ | ✓ |
| CLI | — | ✓ |
In short: this page is best for a quick, small file. For large files or batch jobs, use the DataFileConverter desktop app — it also ships a command line for scripts and scheduled runs.
Attributes are added to the object so they can be read as normal JSON properties.
They are grouped into a JSON array.
No, the conversion is done locally with JavaScript.
How much bigger is JSON than CSV? See our measured comparison: CSV vs JSON vs XML: file size and speed compared.
XML to CSV | XML to SQL | CSV to JSON | JSON to CSV | SQL to JSON | Offline XML to JSON
If this service cannot convert your data correctly, or your files are bigger than 100M, or you want a batch conversion, you can use Data File Converter to Convert XML to JSON Offline.
Want to stay in the browser? Subscribe (from $5/month) to raise the online limits.
If you have any question or suggestion, please contact us.