JSON to XML Converter
Some APIs, feeds and legacy systems still speak XML. Paste your JSON and this converter builds a well-formed XML document — you control the root element name, the array item tag and indentation, and can include the XML declaration. All conversion happens in your browser.
How to use
- Paste your JSON in the box above (or click Sample).
- Set the root element and array item tag names — keys starting with "_" become attributes (like "_id" -> id="...").
- Click Convert to XML, then copy or download it.
Tips
- Set a meaningful root element (for example catalog or order) — many XML parsers require exactly one root.
- Use a custom array item tag like item or product so repeated elements keep consistent names.
- Validate the XML in your target system after converting, especially if it expects attributes instead of elements.