- Home
- Data converter
- XML to JSON
Convert XML to JSON
XML is verbose, and modern tools and APIs usually expect JSON. JSON is the shared data format of APIs and programming languages.
- Free
- No sign-up
- Batch conversion
Why convert XML to JSON?
To convert XML files to JSON, drop them on the counter above.
Most files convert in seconds: no queue, no email address, and the JSON result saves straight to your computer or phone.
How to convert XML to JSON
-
Add your XML files
Drag your XML files onto the counter or pick them with Choose files. You can add several at once.
-
Check the settings
The defaults suit most cases. Change quality, size or other options if you like; after a change, one click converts again.
-
Conversion starts by itself
Each file is converted to JSON and its row is stamped CONVERTED.
-
Download your JSON file
Get the file with Download. With several files you can download them all as one ZIP.
XML vs JSON
| Property | XML | JSON |
|---|---|---|
| Full name | Extensible Markup Language | JavaScript Object Notation |
| Type | Data | Data |
| Nested structure | Yes | Yes |
| Plain text | Yes | Yes |
| Created by | W3C | Douglas Crockford (RFC 8259) |
| Year | 1998 | 2001 |
| Extensions | .xml | .json |
| MIME | application/xml | application/json |
About the formats
XML
Extensible Markup Language
XML is an extensible markup language that describes data with tags. It is still the standard in enterprise systems such as e-invoicing (UBL), banking and government integrations.
JSON
JavaScript Object Notation
JSON is the lightweight text format web services and apps use to exchange data. It nests objects, arrays, numbers and strings.
Frequently asked questions
Is converting XML to JSON free?
Yes, completely free. No account, no daily limit, no watermark and no queue.
Does it work on a phone?
Yes. It works on iPhone, iPad and Android, with no app to install.
Is there a file size limit?
There is no size limit set by us. Files of hundreds of MB convert too; very large files take longer and are handled more comfortably on a computer than on a phone.
Other conversions
| Family | Give | → | Get | What you gain |
|---|---|---|---|---|
| JSON | XML | for enterprise integrations | ||
| XML | CSV | imports into any system | ||
| XML | YAML | readable config file | ||
| XLSX | JSON | API-ready data · Excel sheets carried over | ||
| CSV | JSON | API-ready data · separator found by itself | ||
| YAML | JSON | API-ready data · indented structure kept | ||
| TOML | JSON | API-ready data · tables and types kept | ||
| XLS | JSON | API-ready data · old Excel file read | ||
| TSV | JSON | API-ready data · tab-separated data read |