piko

JSON to XML

Convert JSON objects and arrays to XML elements under a root name you choose.

Runs on your device. Nothing you add is uploaded.

XML
<?xml version="1.0" encoding="UTF-8"?>
<garden>
  <name>Riverside Garden</name>
  <open>true</open>
  <beds>
    <item>East</item>
    <item>West</item>
  </beds>
</garden>

How to use JSON to XML

  1. Paste the JSON document.
  2. Choose the name of the root element.
  3. Copy the converted XML.

Questions

How is the document represented after conversion?
Object keys become element names when possible. Other keys use an entry element with a key attribute. Arrays become collections of item elements.
Where is my input processed?
On your device. The tool does not upload the input or its result.

How this works

Parses XML with Saxes and builds XML from JSON using escaped text and attribute values.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy