How to use the XML to JSON converter
- Drop an .xml file or paste XML.
- Click Convert.
- Copy or download the JSON.
What to know
- Each repeating record becomes one JSON object.
- Attributes are kept with an @ prefix, and nested elements use dotted keys.
- Text values are trimmed of surrounding whitespace.
Questions
Does it keep the full XML tree?
It is built for record-style XML such as feeds, exports and catalogs, and flattens each record into one object.