Convert XML to JSON

XML data → JSON data: convert online for free. XML to JSON conversion runs right in your browser — your files never leave your device.

Drop files here or choose them

You can also paste files with Ctrl+V

Files never leave your device

About the formats

XML data
Text format with tags and attributes for exchanging data between systems: exports, feeds and documents.
JSON data
Text data format of web APIs and configs: objects and arrays of values readable by any programming language.

How to convert XML to JSON

  1. Choose a XML data file or drag it onto the page.
  2. Check the settings and click Convert.
  3. Download the JSON data file when it is ready.

Frequently asked questions

Is converting XML to JSON free?

Yes. Conversion is free, with no sign-up and no watermarks.

Are my XML files uploaded anywhere?

No. The conversion runs in your browser, so your files never leave your device.

What is kept when converting XML to JSON?

The whole structure and every value: nesting, lists, numbers and booleans. XML attributes become keys prefixed with @, repeated elements become arrays, and codes with leading zeros stay strings. Comments are not carried over.