Skip to content

JSON to XML converter

  • Runs on your device
  • Works offline once loaded

Generate XML from JSON for systems that still require it. Arrays become repeated elements and the output is indented and well formed.

How it works

  1. Paste your data or open a file.
  2. Choose the input and output formats.
  3. Copy or download the converted data.

Why use it

  • Well formed output.
  • Arrays to repeats.
  • Pretty printed.
  • Private.

Questions and answers

Which root element is used?

A root element is added when the JSON has more than one top level key.

Can I convert back?

Yes, with the XML to JSON option.

Related guides

Data6 min read

CSV, Excel or JSON: which format for your data?

We saved the same 100,000 row table as CSV, as an Excel workbook and as JSON, then compared the sizes, how fast each one reads in code, and what goes wrong with dates, leading zeros and long numbers.

Esc