JSON to XML
Convert JSON to formatted XML directly in your browser.
How JSON maps to XML
JSON objects become nested XML elements. Arrays use repeated item elements inside their own wrapper, and you can choose the document root element name.
Values and keys
JSON null and empty containers become empty XML elements because XML has no JSON-style null value. Keys that are not valid XML names are preserved as property elements with their original key in a name attribute. XML escapes text safely, but JSON and XML are not perfectly interchangeable: XML attributes and empty arrays have no direct JSON equivalent.
Private XML conversion
Conversion happens locally in your browser. Nothing is uploaded, and no XML schema, DTD, entity, or remote resource is processed.