How it works
- 1Choose JSON → XML or XML → JSON.
- 2Paste your source text and adjust the root element if needed.
- 3Convert, copy or download the formatted result.
Convert JSON to XML or XML to JSON locally in your browser. Pretty-print output, preserve nested data and download the result without uploading your input.
Bidirectional JSON and XML conversion in the browser with readable formatting and no server upload.
Attributes are stored under @attributes and mixed text can appear under #text.
Yes. JSON arrays are represented with repeated item elements and repeated XML child elements become JSON arrays.
No. Parsing and conversion happen locally in your browser.