Data formats · FMT-04Submit an issue

XML to JSON converter

Parse XML elements, attributes and repeated nodes into JSON.

Elements · Attributes · Repeated nodes
Input
Output
Usage guide and examples

Convert formats and organize data

Enter valid XML with one root element to generate a JSON hierarchy. Repeated child names become arrays and attributes and text become fields. Inspect repeated elements and mixed content; do not assume a lossless round trip.

Check the input format and options with this example before using your own data. Random values, file sizes and presentation vary with the input and settings.

Example input and settings

<root><name>Ada</name></root>

What to check in the result

JSON · root → name → Ada