JSONora · Free online tool

JSON to XML

Convert JSON objects into well-formed XML with a <root> element, proper escaping and readable indentation — all in your browser.

Input JSON
OutputRead-only
Your JSON is converted locally in your browser. Nothing is uploaded.
Advertisement

How to convert JSON to XML

  1. Paste valid JSON into the input.
  2. Press Convert to XML.
  3. Copy or download the .xml file.

Mapping rules

  • Objects become nested elements; arrays repeat an <item> element.
  • Key names are sanitized to valid XML tags; &, < and quotes are escaped.
  • Empty objects and arrays become self-closing tags.

Working with an API that still speaks XML? Validate the source with the JSON validator first, then inspect it with the JSON viewer to choose the fields you need.

Advertisement