XML to JSON Converter
Convert XML markup into JSON. Runs entirely in your browser.
JSON output appears here…FAQ
How is XML mapped to JSON?
Each element becomes a JSON key. Attributes use an @name prefix. Repeated sibling tags become arrays. Text-only elements become strings.
What about mixed content?
When an element has both child tags and text, text is stored under #text.
Is my data private?
Yes. The conversion runs entirely in your browser — nothing is uploaded.
Related formatters
More free developer tools — all run in your browser