JSON to XML Converter
Convert JSON format to XML instantly
JSON Input
Paste your JSON here
XML Output
Converted XML will appear here
Fast Conversion
Instantly convert JSON to XML format with a single click
Attributes Support
Use @attributes key for XML attributes and #text for mixed content
Download & Copy
Easily copy to clipboard or download converted files
How to Use
JSON to XML Conversion Rules
1. Basic Object to Element
JSON keys become XML tags:
{ "user": { "name": "Dev" } } → <user><name>Dev</name></user>2. Attributes
Use @attributes for XML attributes:
{ "user": { "@attributes": { "id": "10" }, "name": "Dev" } }
→ <user id="10"><name>Dev</name></user>3. Text Content
Use #text for mixed content:
{ "name": { "@attributes": { "lang": "en" }, "#text": "Dev" } }
→ <name lang="en">Dev</name>4. Arrays
Arrays create repeated elements:
{ "users": { "user": ["Dev", "John", "Jane"] } }
→ <users><user>Dev</user><user>John</user><user>Jane</user></users>How to Use
Paste JSON: Enter or paste your JSON data in the left panel
Convert: Click "Convert JSON to XML" button to transform your data
Review: Check the XML output in the right panel for accuracy
Copy or Download: Use the copy button or download the XML file for use in your projects