JSON → XML

Paste JSON and get XML. Keys starting with @_ become attributes, #text becomes element text — the same convention XML → JSON uses.

In
JSON
Out
XML
Reverse: XML → JSON
Options
Input · JSON
Output · XML

Waiting for input

Runs in this tab. The text is not sent anywhere.

Related

Questions

Where does <root> come from?

An XML document has exactly one root element. If the JSON has several top-level keys or is an array, it is wrapped in <root>.

↑ ↓ move · Enter open · Esc close