JSON to XML

Convert JSON into well-formed, indented XML.

Works Offline
Privacy First
No Login
No API

JSON input

XML output

About the JSON to XML

Transform JSON objects and arrays into XML with a configurable root element name and indentation. Special characters are escaped automatically so the output is always valid XML.

Examples

Simple object

{"name":"Ada"}

Output

<?xml version="1.0" encoding="UTF-8"?>
<root>
  <name>Ada</name>
</root>

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser