Convert JSON to XML with attributes (@name), text (#text) and arrays as repeated elements. Fixes invalid names. Free, in your browser.
Converts JSON to XML: "@name" keys become attributes, "#text" the element text and arrays repeated elements. Invalid element names (spaces, leading digits) are fixed and listed.
Copy the data or drop a file. JSON errors are explained and fixed just like in the formatter.
Options in the toolbar: indentation, delimiter, value types.
The XML updates as you type; copy it or download it as a file.
{"price": {"@currency": "USD", "#text": 39}} → <price currency="USD">39</price>
"book": [ … ] → repeated <book> elements
“2nd key” → _2nd_key; accented letters stay (allowed in XML).
An array or an object with several keys is wrapped in <root>; an object with one key uses that key as the root.
Yes. No sign-up, no ads and no size limit — the only limit is your computer.
No. Everything runs in your browser and the data you paste never leaves it — fine even for data with tokens or personal information.