99+ Free Tools
← Back ✕ Close

JSON to XML Converter

Paste JSON and get pretty-printed XML instantly. Keys starting with @ become attributes.

A laptop showing structured data on its screen
Arrays become repeated elements; @keys become attributes on their element.

JSON

XML

Paste JSON to see the XML.

How this tool works

Method. The JSON is parsed, then written as XML: object keys become elements, arrays become repeated elements, and keys starting with @ become attributes. Special characters are escaped so the XML stays well-formed.

Privacy. Everything happens in your browser. Nothing is uploaded or shared; the recent-conversions record stays on this device only.

Limits. Invalid JSON is refused with the error position; duplicate keys in one object are flagged.