Use XML to JSON - free
Frequently asked questions
How are XML attributes handled?
Attributes are included in the output JSON under an "@attributes" key alongside the element’s content.
What happens to repeated elements?
Repeated sibling elements with the same tag name become a JSON array.
Is the resulting JSON valid for any API?
The output is standard, valid JSON. Whether its specific shape matches what a particular API expects depends on that API’s requirements.