Skip to content
Engyna
Menu

Convert XML to JSON

Turn Extensible Markup Language files (.xml) into JavaScript Object Notation (.json) in seconds. Drop one file or a whole batch: the conversion happens right in your browser, with no sign-up, no watermark and no upload.

JSON to XML instead

How to convert XML to JSON

  1. 1Drop your XML files into the box above, or click to choose them.
  2. 2JSON is already selected. Adjust the options if you like.
  3. 3Click Convert and download your JSON files.

Good to know

  • JSON is a table, so the data needs to be a list of records. Nested objects are flattened into columns like "address.city".
  • Attributes are kept with an @ prefix and repeated elements become lists.

Frequently asked questions

Is converting XML to JSON free?

Yes. There is no sign-up, no watermark and no limit on the number of files.

Are my files uploaded?

No. Everything runs in your browser, so your files are never uploaded to a server. That also makes it fast, because nothing has to travel over the network.

Will I lose quality converting XML to JSON?

No noticeable loss: the conversion keeps the content of your XML file intact.

Can I convert several files at once?

Yes. Drop as many XML files as you like. They are converted one after another and you can download them individually or as a ZIP.

Is there a file size limit?

There is no fixed limit. Very large files depend on your device's memory, since the conversion runs locally.

What is XML?

XML is a structured markup format used for data exchange, feeds and many configuration files.

What is JSON?

JSON is the standard data format of the web and APIs, able to hold nested objects and lists.

Convert XML to other formats

Convert other files to JSON

Popular tools