JSON to XML Converter
Convert JSON into well-formed XML with a root element you choose, or switch direction to turn XML into JSON with numbers and booleans detected.
How to use it
- Paste JSON, or choose XML → JSON and paste XML.
- Set the root element name if you need a particular one.
- Copy the result or save it to a file.
What it does
- Both directions: JSON to XML and XML to JSON
- Choose the root element
- Detect numbers and booleans, or keep every value as text
- Opens .xml files directly
Questions
- How are arrays converted to XML?
- Each array item becomes a repeated element with the array's key as its name.
- Can I convert XML to JSON?
- Yes. Change Direction to XML → JSON.
- Is my data uploaded?
- No. The conversion happens on your device.
More JSON tools
Bracely has more than 60 JSON tools in one page. Related ones:
Runs entirely in your browser. Nothing you paste is uploaded. Privacy policy