Configurable Root Tag
Set a custom root element; a single top-level key such as {"catalog": …} becomes the root automatically.
Convert JSON payloads into well-formed, indented XML documents for legacy APIs, SOAP web services, and RSS feeds.
Transform JSON data into well-formed, indented XML. Custom root tags, array handling, and attribute options. 100% client-side privacy.
{"book":{"title":"Dune","year":1965}}<?xml version="1.0" encoding="UTF-8"?>
<root>
<book>
<title>Dune</title>
<year>1965</year>
</book>
</root>Tip: Special characters such as & and < are escaped automatically so the XML stays well-formed.
Set a custom root element; a single top-level key such as {"catalog": …} becomes the root automatically.
Keys starting with @ become XML attributes and #text becomes element text, matching the XML to JSON output.
Escapes &, < and > in text and quotes in attributes, and fixes tag names that XML does not allow.
Export and download the generated XML as a .xml file instantly.
Top-level array elements are wrapped in <item> tags, and nested arrays repeat the parent property tag name.
Yes! You can specify any valid XML tag name (such as <data>, <users>, or <response>) in the options bar.
Yes, all special characters inside string values are safely encoded into standard XML character entities.
Yes, conversion runs completely in your browser without any server communication.