{ }XML to JSON converts XML documents, RSS feeds, API responses, and configuration snippets into JSON that is easier to inspect, copy, and reuse in JavaScript, API tests, and data pipelines. Everything is processed in the browser after the XML is loaded.
Paste XML, fetch a public XML URL, or upload a file. Review the tree preview to confirm the parser sees the expected root and child nodes, then use Convert, Copy JSON, or Download JSON. Pretty mode is best for review; minified mode is best for compact transport.
Use prefixed attributes when you need to distinguish XML attributes from child elements. Grouped attributes keep them under a dedicated object, while merged attributes create a flatter shape. Parse values is useful for API fixtures because numbers and booleans become real JSON types instead of strings.
Can it convert feeds? Yes. RSS and Atom are XML, so public feed URLs and pasted feed XML work.
Why did a repeated element become an array? JSON needs one value per key, so repeated sibling tags are grouped into arrays to preserve every item.
Are files uploaded to a server? Uploaded XML files are read in your browser. URL fetching goes through a small server route so public XML can be loaded without browser CORS issues.