JSON to XML converter
Turn a JSON document into XML — objects become elements, arrays repeat, with escaping handled.
How to use
- Paste the JSON.
- Set the root element name.
- Copy the XML.
What it supports
Up to 200,000 characters. Object keys become element names (non-XML-name keys become <item>); arrays emit repeated elements; a top-level array wraps as <item> children inside the root. Keys starting with @ emit as attributes and #text as the element's text; null becomes an empty element. Always a single root element.