Convert XML to JSON and Back
Two-way conversion between XML and JSON. Attributes, nesting and repeated tags are preserved.
The XML ⇄ JSON converter translates data between the two most common data-interchange formats. XML shows up in older APIs, config files and RSS/SOAP, while JSON is the default for modern REST APIs. Paste in XML and get JSON back, with attributes turned into "@_name" keys and repeated tags collected into arrays. Or go the other way: a JSON object with a single root key becomes a valid XML document.
Handy for debugging integrations, migrating configs between systems, or just reading an unfamiliar XML structure in a more compact form.
Everything runs in your browser — no data is sent anywhere. Invalid XML or JSON gets a clear error message explaining what's wrong.