Skip to content

XML to JSON converter

  • Runs on your device
  • Works offline once loaded

Turn XML feeds and documents into JSON you can use in code. Attributes are kept with a prefix, repeated elements become arrays, and the conversion runs locally.

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

  • Attributes preserved.
  • Arrays for repeats.
  • Large files fine.
  • Private.

Questions and answers

How are attributes represented?

They appear as keys with an @ prefix.

Does it work with RSS?

Yes.

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