XML to JSON
Parse XML into JSON for debugging, scripting, and modern APIs. Attributes are preserved with a special prefix. Repeated elements may become arrays.
Result
Paste XML, then Convert.
Parse XML into JSON for debugging, scripting, and modern APIs. Attributes are preserved with a special prefix. Repeated elements may become arrays.
Paste XML, then Convert.
XML responses from banks, government APIs, and older SaaS products are painful to work with in JavaScript. This tool parses XML into a JSON structure you can manipulate with standard object syntax, fetch handlers, and JSON tooling.