XML to JSON

Convert XML documents, feeds and SOAP responses to JSON. Attributes are kept with an @_ prefix.

Runs in your browser. Nothing is uploaded Free, no sign-up Works on mobile
Indent

How to convert XML to JSON

  1. Paste your XML or open a file.
  2. Adjust the options if needed.
  3. Copy the JSON or download it as a file.

Frequently asked questions

Are XML attributes kept?

Yes. They appear as keys starting with @_, alongside the element’s child values.

Is my data sent to a server?

No. Everything runs in your browser, so API keys, tokens, configs and customer data never leave your machine.

Related tools

All Developer Tools →