JSON to XML Converter

Convert JSON to indented XML online. Arrays become repeated elements, special characters are escaped. Runs locally in your browser.

About this tool

Paste JSON and get well-formed XML with an XML declaration. A single top-level key becomes the root element; otherwise the data is wrapped in a root element. Arrays repeat the parent tag, null becomes an empty element, and keys that are not valid XML names are prefixed with an underscore. Nothing is uploaded.

Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter