XML ↔ JSON

Convert XML to JSON and JSON back to XML. Free, no sign-up, files stay on your device.

🔒 100% private — processing happens in your browser. Nothing is uploaded.

How to convert XML to JSON

  1. Paste XML or open a file.
  2. Choose XML → JSON or JSON → XML.
  3. Tick “Keep attributes” to keep XML attributes as @fields.
  4. Copy or download the result.

Modern data from old formats

Many feeds, invoices, bank exports and older APIs use XML, while modern apps prefer JSON. Converting makes the data easy to use in JavaScript, Python or spreadsheets. Attributes become keys starting with @ so nothing is lost.

JSON → XML helps when a legacy system still needs XML.

Questions and answers

What happens to attributes?

They become @name keys if “Keep attributes” is ticked.

Can it convert RSS feeds?

Yes, RSS is XML.

Is my data uploaded?

No, it stays on your device.

Is it free?

Yes, no sign-up.