JSON to XML Converter

Convert JSON data to properly formatted XML with correct nesting.

Text & Data100% private

JSON to XML Converter

Convert JSON data to properly formatted XML with correct nesting.

// Click Convert

How it works

  1. 1
    Paste JSONEnter any valid JSON.
  2. 2
    ConvertJSON keys become XML tags, values become text content.
  3. 3
    CopyCopy the XML for use in SOAP APIs, RSS feeds, or config files.

Frequently asked questions

How are arrays handled?
Each array item becomes a separate XML element with the same tag name. e.g., {"tags": ["a", "b"]} becomes <tags>a</tags><tags>b</tags>.
Are special characters escaped?
Yes. &, <, >, and quotes are properly escaped for valid XML.
Can I set the root element name?
This version defaults to 'root'. For custom names, modify the rootName parameter.

Related tools