Skip to content
PDFBoii

JSON to XML

Convert a JSON file into XML. Object keys become elements; array items become repeated elements.

Free, with no account needed. It runs in your browser, so your file never leaves your device.

Select JSON file

or drop it here · up to 25 MB

About JSON to XML

JSON to XML converts a JSON file into XML. Everything is placed under a single root element, and the output is indented so it is easy to read.

Last reviewed

How to use it

  1. Select a .json file.
  2. Press Convert to XML.
  3. Download the .xml file.

When to use it

Good to know

Tips for a better result

Questions about JSON to XML

Why did my key name change?
XML names have stricter rules than JSON keys. Characters that are not allowed are replaced with underscores, and a leading digit gets an underscore in front.
Can I choose the root element's name?
No. The root element is always called root.
How much does JSON to XML cost?
JSON to XML is free, and you don't need an account. It runs inside your browser, so it costs us nothing to run and there are no credits to spend.
Is my file kept after I use JSON to XML?
Your file never leaves your device. JSON to XML works inside your browser, so nothing is uploaded and there is nothing for us to keep.
Do I need an account to use JSON to XML?
No. JSON to XML works without an account or sign-up. Open the page, choose your file and download the result.
Does JSON to XML work on a phone?
Yes. JSON to XML runs in the browser on phones, tablets and computers, with nothing to install. A very large file can be slow on an older phone, because your own device does the work.
Is there a file size limit for JSON to XML?
We set no upload limit, because nothing is uploaded: the limit is your device's memory. If your browser can't process a file, the page offers to process it on our servers instead. That uses credits and accepts files up to 25 MB.

Related tools