← HomeJSON ↔ XML

JSON ↔ XML

Convert JSON to XML and back, with a configurable root element.

JSON
0 lines0 bytes
XML
0 lines0 bytes

How it works

  1. Drop a file into the upload area, or paste your content into the input box.
  2. Choose the output format and options, then start the conversion.
  3. Download the result — everything runs in your browser and nothing is uploaded.

Frequently asked questions

How are arrays and attributes represented in XML?

Arrays become repeated elements with the same name; JSON keys starting with @ become XML attributes and the rest become child elements. XML to JSON keeps attributes as strings with an @ prefix.

Do my files get uploaded to a server?

No. All 12 tools run inside your browser, so files never leave your device. Closing the tab ends the session.

More general questions →