Developer
Developer

XML ⇄ JSON Converter

Turn XML into JSON or JSON into XML, or tidy up an XML file.

Private by design

Your inputs stay on your device and are not sent to our servers. Optional usage analytics does not receive your files or tool inputs.

Preparing tool

How to use XML ⇄ JSON Converter

  1. Paste XML or JSON, or open a file.
  2. Choose XML to JSON, JSON to XML, or Format XML, then set the attribute and array options.
  3. Copy or download the result. Errors show the line and column.
Read the detailed guide →

What are the limits of XML ⇄ JSON Converter?

XML and JSON are shaped differently, so a round trip may not give back the exact same file. Namespaces are kept as part of names. DTDs and entities are not expanded beyond the standard ones. Your data stays on your device.

YOUR BROWSER, YOUR CHOICE