Private JSON tool
JSON to XML Converter
Convert JSON into a simple XML document with a fixed root element. The transformation is local to your browser.
About browser JSON to XML conversion
This tool parses JSON text locally, writes an XML declaration, and serializes the value under a root element. Pasted text and opened files are not uploaded.
Objects become child elements, arrays become item elements, and scalar values become escaped text content. Invalid XML element names are replaced with underscore elements.
Does this upload my files?
No. Everything on this page runs locally in your browser, so your files are never uploaded to a server. Close the tab and nothing is left behind. It even keeps working if you go offline after the page loads.
This is true for every tool on this site. Curious how that works? Read how browser-side processing works.
FAQ
Is my JSON uploaded?
No. The JSON text is parsed and converted to XML locally in your browser.
What XML root element is used?
The converter always writes a root element named root.
How are arrays represented?
Arrays are written as repeated item elements inside the parent element.
What happens to invalid XML element names?
JSON keys that are not valid XML element names are written as underscore elements.