JSON to XML Converter
Get a XML version of your JSON file.
or drop files here
JSON files · up to 30 MB each
How to convert JSON to XML
- Click “Choose files” (or drop your JSON file onto the box). You can add several files.
- Check the options below the file name, if there are any. The defaults suit most files.
- Press “Convert”. The progress bar shows how far along the conversion is.
- When it finishes, press “Download” to save the .xml file. Several results are offered as one ZIP.
About JSON / XML
JSON file
A text format for structured data: objects, lists, numbers and text. It is the usual language of web APIs.
Typical use: API data, configuration files, exports from apps and databases.
Strengths
- easy for programs and people to read
- keeps nested structure
Limits
- no comments or formatting
- needs a regular list of records to become a table
- File extensions
- .json
- MIME type
- application/json
- Compression
- no compression
- Introduced
- 2001
XML file
A text format for structured data using tags, like <name>Ann</name>. Used for documents, feeds and data exchange.
Typical use: Data feeds, sitemaps, office files and system integration.
Strengths
- self-describing and very widely supported
- keeps nested structure and attributes
Limits
- wordier than JSON
- no fixed way to represent plain lists, so conversions follow conventions
- File extensions
- .xml
- MIME type
- application/xml
- Compression
- no compression
- Introduced
- 1998
Frequently asked questions
How is JSON written as XML?
Objects become elements and arrays become repeated elements. You can choose the name of the outer element. Keys that are not valid XML names are written with a name attribute.
Is there a size limit for JSON files?
Yes: about 30 MB for this converter. The whole file has to fit in your browser's memory, so large files on a phone may fail sooner than on a computer.
Does the JSON to XML converter work on a phone?
Yes, in a current browser on iPhone, Android and tablets. Small and medium files convert fine. Very large files need more memory than many phones have, so a computer is safer for those.
Do I need to install software or create an account?
No. There is nothing to install and no sign-up. Open the page, add your file, and download the result.