Free Online XML to JSON Converter
Convert XML into readable JSON. Attributes are prefixed with @ and repeated elements become arrays.
Loading tool…
Privacy: your files are processed in your browser and are not uploaded or stored by us. Third-party ads or analytics, if shown, may still make their own requests.
Ad slot: within instructions
How to use the xml to json converter
- Type or paste your input, or choose a file to load it.
- Adjust the options shown below the input.
- Run the tool, then copy or download the result.
Good to know
All values are kept as text. Mixed content is stored under #text, and invalid XML is reported with the parser’s message.
Common uses
- Move data between apps and formats.
- Clean up text and data for scripts or spreadsheets.
- Convert quickly without installing software.
Frequently asked questions
Are my files uploaded to a server?
No. This tool runs in your browser and your file is not sent to our server or stored. Ads or analytics, when enabled, may make their own network requests; see our Privacy Policy.
What are the limits of the xml to json converter?
All values are kept as text. Mixed content is stored under #text, and invalid XML is reported with the parser’s message.
Is the xml to json converter free?
Yes. It is free, needs no account and has no watermark.