Transform nested JSON structures into valid, indented XML with customizable root tag.
Convert modern JSON objects and arrays into valid, well-formed XML documents. Features customizable root elements, item wrapper tags for arrays, support for XML attributes via prefixed keys (e.g. @_id or @class), CDATA wrapping for long text, and standard XML declaration headers.
Specify custom root tags (<root>, <response>) and array item tags (<item>, <record>).
Map prefixed JSON keys (@attr) directly into XML element attributes.
Outputs beautifully formatted XML with standard 2-space or 4-space indentation.
Safely escapes special characters (&, <, >, ", ') to guarantee well-formed XML.
All computations and transformations execute strictly in your local browser session using client-side JavaScript. Zero tokens, passwords, or data are transmitted over the network or saved to remote databases.