Convert XML to JSON: attributes, repeated elements as arrays, optional typed values. Explains and fixes XML errors. Free, in your browser.
Converts XML to JSON: attributes as "@name", text next to attributes as "#text", repeated elements as arrays and empty elements as null. Optionally turns numbers and true/false into typed values.
Copy the data or drop a file. XML errors are explained and fixed just like in the formatter.
Options in the toolbar: indentation, delimiter, value types.
The JSON updates as you type; copy it or download it as a file.
<price currency="USD">39</price> → {"@currency": "USD", "#text": "39"}
Several <book> elements → an array "book": [ … ]
Invalid XML is explained and fixed first — the same error detection as the formatter.
XML has no data types — everything is text. Turn on “numbers and true/false as values” to get numbers.
Element names keep their prefix (x:note); xmlns declarations become "@xmlns:x" attributes.
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.