JSON Beautifier
Paste messy JSON, pick an indent, copy clean output. Errors show line and column.
Turn JSON into well-formed XML for a SOAP service, a feed or an older integration. Keys starting with @ become attributes and #text becomes element content.
Paste or type to begin. Everything runs in your browser.
How it works
Paste JSON or load the sample. A single top-level key becomes the root element.
Set a root or item name if you need one, and pick indentation or compact output.
Copy or download the XML.
FAQ
Each item repeats the array's key as its tag: {"tag": ["a", "b"]} becomes <tag>a</tag><tag>b</tag>. Top-level arrays use the item name you set.
Prefix the key with @. {"book": {"@id": "bk101", "title": "XML"}} becomes <book id="bk101"><title>XML</title></book>.
Missing something?
Describe the job and the file types involved. The most requested tools get built first.