Tools / JSON ↔ XML Converter
JSON ↔ XML Converter
Bidirectional live conversion between JSON and XML. Edit either side and the other updates automatically.
Runs entirely in your browser
Convention: XML attributes are prefixed with
@_ in JSON (e.g. "@_id": "123"). Text content uses the #text key.JSON
XML
JSON
XML
How to use JSON ↔ XML Converter
Paste either format
Paste JSON on the left or XML on the right. Both panes update each other live.
Note the conventions
Attributes are prefixed @_ in JSON. Mixed text content lives under #text. Arrays in JSON become repeated child elements in XML.
Download or copy
Save .json or .xml using the download buttons.