JSON to XML

Input
Output

JSON to XML Converter

Convert JSON into well-formed XML with a root element you choose, or switch direction to turn XML into JSON with numbers and booleans detected.

How to use it

  1. Paste JSON, or choose XML → JSON and paste XML.
  2. Set the root element name if you need a particular one.
  3. Copy the result or save it to a file.

What it does

Questions

How are arrays converted to XML?
Each array item becomes a repeated element with the array's key as its name.
Can I convert XML to JSON?
Yes. Change Direction to XML → JSON.
Is my data uploaded?
No. The conversion happens on your device.

More JSON tools

Bracely has more than 60 JSON tools in one page. Related ones:

Runs entirely in your browser. Nothing you paste is uploaded. Privacy policy