JSON to XML

Convert JSON data into well-formed XML quickly and accurately. Paste JSON, choose a root element name, and get indented XML with a declaration. This free converter runs entirely in your browser, so your data never leaves your device.

How it works: Objects become nested elements, arrays repeat the same element for each item, and special characters such as &, < and > are escaped. The output starts with an XML declaration and uses two-space indentation.