Free JSON to XML Converter
Paste any JSON object or array and get well-formed XML output in one click. Handles nested objects and arrays.
How to use JSON to XML Converter
Paste any JSON object or array and get well-formed XML output in one click. Handles nested objects and arrays.
Frequently asked questions
How are JSON arrays converted?
Each array element becomes a repeated XML element with the same tag name, e.g. <item> repeated for every element in the array.
What root element name is used?
By default the root element is named <root>. You can customise it before converting.
Is my data sent to a server?
No. Everything runs locally in your browser.
Can I convert back to JSON?
Use our XML to JSON Converter for the reverse operation.
Are JSON null values supported?
Yes. null values are represented as empty elements: <key/>.
Related tools
XML to JSON Converter
Paste or upload any XML document and get clean, properly formatted JSON output in one click.
XML Formatter & Beautifier
Paste or upload XML and get perfectly indented, readable output in seconds. Supports 2-space, 4-space, and tab indentation.
JSON Formatter
Format, validate, and minify JSON instantly in your browser.