XML Input
paste or type · or drop a .xml file
JSON Output
Convertedxml-to-json

XML is still everywhere

Despite JSON's dominance, XML remains the backbone of enterprise systems, SOAP web services, RSS/Atom feeds, Office Open XML documents, and Android manifests.

If you work with any of these, or integrate with a legacy ERP, a bank API, or an XML-based CMS, you'll need to convert XML to JSON to work with it in modern JavaScript or Python code.

How XML maps to JSON

The converter handles these conventions automatically, so you get a predictable structure you can traverse with standard JSON tooling.

ElementBecomes a JSON object key
AttributePrefixed (e.g. @attr) to distinguish from children
Repeated siblingBecomes an array
Text-only nodeBecomes a string value

Typical workflows

Backend developers convert SOAP responses to JSON before passing them to a React front-end. DevOps engineers parse Maven POM files or Ant build scripts to extract dependency information.

Content teams convert RSS feeds to JSON to feed a Next.js blog or newsletter. Because parsing runs locally, XML documents containing internal data never leave your machine.