JSON to XML

Convert JSON objects to well-formed XML. Keys starting with @_ become attributes.

Runs in your browser. Nothing is uploaded Free, no sign-up Works on mobile
Indent

How to convert JSON to XML

  1. Paste your JSON or open a file.
  2. Adjust the options if needed.
  3. Copy the XML or download it as a file.

Frequently asked questions

How do I create XML attributes?

Prefix the key with @_, for example {"book": {"@_id": "b1", "title": "Godan"}} becomes <book id="b1"><title>Godan</title></book>.

Is my data sent to a server?

No. Everything runs in your browser, so API keys, tokens, configs and customer data never leave your machine.

Related tools

All Developer Tools →