Skip to content

JSON to XML Converter

Convert JSON to well-formed XML with a configurable root element. Keys prefixed with @_ become attributes.

Runs in your browserJSON → XML
Loading tool…

Example

Input
{"book":{"@_id":"7","title":"Dune","year":1965}}
Output
<?xml version="1.0" encoding="UTF-8"?>
<book id="7">
  <title>Dune</title>
  <year>1965</year>
</book>

How to use the JSON to XML Converter

  1. Paste or type your JSON into the input area, or open a file from your device.
  2. Adjust the options above the editor if the tool offers any.
  3. Review the XML result, then copy it or download it as a file.

Privacy and limitations

  • Your data is processed on your device and is not uploaded to any server.
  • Arrays at the top level are wrapped in the root element with one <item> per entry.

Browse all json converters →