Paste XML and each record (every item element, or each child of the root) becomes a JSON object, with repeated child elements grouped into arrays. Attributes are ignored and values come through as strings.
When to use this
Use when: parsing SOAP responses from legacy enterprise APIs, ingesting XML data feeds (RSS, Atom, sitemaps), migrating from XML-based config to JSON, processing XML exports from tools like Tally / SAP / Oracle that still output XML.
Frequently Asked Questions
What happens to XML attributes?
They are dropped. Only child elements and text come through, so <user id='1'>Alice</user> gives the text Alice without the id. Move attribute values into child elements first if you need them.
How does it detect arrays?
When a parent element has multiple child elements with the same name (e.g. <items><item>A</item><item>B</item></items>), they become a JSON array. If only one such child exists, it stays a single value; there is no option to force arrays, so handle both shapes in your code.
Powered by Data Converter - JSON / XML / CSV / YAML.