Skip to content

Data Conversion Suite · free · no sign-up

JSON to XML

Convert JSON data into XML.

How it works Report a problem

JSON to XML

Convert structured JSON data into standard XML format

Source JSON

About the JSON to XML

Convert JSON data into XML.

How to use the JSON to XML

  1. Paste your JSON or click Sample.
  2. Press Convert to XML.
  3. Click Copy XML.

Worked example

{"name":"Ann","age":30} becomes <name>Ann</name><age>30</age> inside a root element.

Tips

  • Keys must be valid XML names. Keys with spaces or starting with digits need renaming.

Frequently asked questions

How are arrays converted?
Each array item becomes a repeated element.