JSON to XML Converter

Validate a JSON document and convert it into properly indented, syntax-highlighted XML. Objects become nested elements, arrays become repeated elements, and primitives become text nodes.

XML output will appear here.

Shortcuts: Ctrl/Cmd + Enter run · Ctrl/Cmd + Shift + F format

How to use

  1. 1Paste your JSON into the left editor.
  2. 2Optionally change the root element name.
  3. 3Click Convert to XML, or press Ctrl/Cmd + Enter.
  4. 4Copy the XML output or download it as a .xml file.

Frequently asked questions