Free · Build XML from JSON
JSON to XML Converter
Turn a JSON object into clean XML, including attributes marked with @_ and text marked with #text.
- Clear result
- Private in your browser
- Copy or download
Build XML from JSON
Paste text or open a file. The result stays in this browser tab.
JSON input23 lines · 402 characters
Tip: press Ctrl or Command + Enter to run.
XML resultResult ready
JSON parts16
XML size290 B
StatusValid XML
<?xml version="1.0" encoding="UTF-8"?>
<catalog updated="2026-08-12">
<book id="bk-101">
<title>The Small Garden</title>
<price currency="CAD">18.50</price>
</book>
<book id="bk-102">
<title>Le ciel bleu</title>
<price currency="CAD">21.00</price>
</book>
</catalog>Three simple steps
How to use it
- Paste a JSON object with one or more root keys.
- Start attribute names with @_ when you need XML attributes.
- Press Convert to XML, then copy or download the result.
Your file stays on this device
fast-xml-parser reads and changes the text inside this browser tab. Bookify does not upload or save it. For safety, this tool does not open XML files with a DOCTYPE.