JSON to XML Converter

This online tool allows you to convert a JSON file into an XML file. This process is not 100% accurate in that XML uses different item types that do not have an equivalent JSON representation.

The following rules will be applied during the conversion process:

  • A default root element is created
  • JSON array entries are converted to individual XML elements
  • All JSON property values will be converted to #text item types
  • Offending characters will be XML escaped

*Files bigger than 1 meg will not be formatted to a tree structure for performance reason. They will instead be formatted to a plain text format.

Option 1: Copy-paste your JSON document here
Option 2: Or type in the URL to your JSON file
Name of root element:
The name of the root element of the XML that will be created.
Element name of JSON array entries:
The name of the XML elements that represent a converted JSON array entry.
XML output indentation level:
Force output to new window: