GoWebTools

JSON to XML Converter

Convert JSON to well-formed XML with indentation and a configurable root element. Free online converter that runs entirely in your browser.

Input

Result

The result appears here as you type.

What this tool is for

Legacy endpoints, SOAP services and a good deal of enterprise middleware still speak XML. This produces well-formed, indented XML from JSON, with a root element you can name and safe escaping of values.

How to use it

  1. Paste your JSON.
  2. Set the root element name.
  3. Copy the XML output.

Frequently asked questions

How are arrays represented?

Each array item is repeated as a sibling element with the same name, which is the standard XML idiom for a list.