Free online tool

JSON to XML Converter

Turn JSON objects and arrays into well-formed XML.

Convert JSON to XML

Conversion happens locally in your browser.

How to convert JSON to XML

Paste valid JSON and convert it into an XML document with a single root element. Object keys become element names.

Arrays and special characters

Array entries use repeated elements. Characters such as ampersands and angle brackets are escaped so the result remains well formed.

Frequently asked questions

How are JSON arrays represented?

Each array value becomes a repeated XML element.

Is special text escaped?

Yes. XML-sensitive characters in values are safely escaped.