JSON to XML Converter
Convert JSON data into clean, formatted XML right in your browser, with a custom root element, array item name, and indentation.
📝 JSON
📄 XML
Popular Tools
How to use
Paste or type your JSON into the input panel on the left; use Format to tidy it first if it came from an API response.
Set the Root Element name, which wraps the whole document, and the Array Item name used for each entry in a JSON array.
Choose the indentation, 0, 2 or 4 spaces, and tick the XML declaration option if you need the <?xml ... ?> prolog.
Read the converted XML in the output panel; it updates as you edit, and invalid JSON is reported instead of silently producing nothing.
Use Copy to put the XML on your clipboard, Download to save it as a file, or Clear to start again.