Paste XML, get readable JSON — attributes, text nodes, and repeated elements handled correctly, all in your browser.
The XML to JSON converter is a free tool that parses XML and turns it into clean, pretty-printed JSON. Elements become objects, attributes are grouped under an attributes key, text content is placed under a text key (or collapsed to a plain string when an element has no children or attributes), and repeated child elements become arrays. Parsing uses the browser DOMParser and runs entirely on your device, so nothing you paste is ever uploaded.
Paste an XML document into the input box, or load the sample to see the output structure.
The pretty-printed JSON updates instantly. If the XML is malformed, a friendly error explains what went wrong.
Copy the JSON to your clipboard or download it as a .json file for your app or API.
saavos is the AI agent that lives on your website — themed to match your design, answering visitors from your own content, and telling you what they actually want to know. Paste your URL and see it answer, before you install anything.
Make my site feel alive