JSON to XML Converter
Convert JSON into XML, right in your browser. @attr keys become attributes, a #text key becomes text content.
This file is processed in your browser and never uploaded to a server.
How It Works
1. Drop your file here
2. Processing…
3. Download
Features
- Supports attributes and nested elements
- Paste text or upload a .json file
- Copy or download the result
Frequently Asked Questions
- Why does my JSON need exactly one root key?
- XML documents can only have a single root element, so the top-level JSON object must have exactly one key to map to it.
- How do I add XML attributes?
- Use keys prefixed with @ in your JSON, e.g. "@id": "1" becomes the attribute id="1".