JSON to XML
Data & Converters
100% in-browser
Paste JSON and get a well-formed XML representation.
How to use the JSON to XML
- 1 Paste valid JSON.
- 2 It is converted to indented XML instantly.
- 3 Copy the XML.
About the JSON to XML
Some systems and legacy APIs still expect XML. This tool turns a JSON object into equivalent XML elements, wrapping array items and nesting objects as child elements.
Conversion happens entirely in your browser.
Frequently asked questions
How are arrays handled?
Each array item becomes a repeated element named after its key.
What about the root element?
A root element wraps the output when the JSON has multiple top-level keys.