A clear JSON mapping
Use one top-level key as the XML root. Keys beginning with @_ become attributes, #text becomes text content, and arrays create repeated elements.
Core transformations run locally in your browser.
Convert a JSON object into valid, formatted XML using a predictable mapping for attributes and text.
Convert a single-root JSON object into formatted XML.
Use @_name for attributes and #text for text content. Your data stays on this device.
Use one top-level key as the XML root. Keys beginning with @_ become attributes, #text becomes text content, and arrays create repeated elements.
The generated document is validated before it is shown. Invalid JSON or a shape that cannot produce one XML root returns a readable error.
An XML document must have one root element. The top-level JSON key supplies that element name.
Each array item becomes another XML element with the array property's name.