Paste an XML document and get predictable, readable JSON. Tag names become object keys, repeated tags become arrays, and attributes are collected under @attributes. Everything runs in your browser — nothing is uploaded.
No. This converter runs 100% in your browser — nothing is uploaded, there is no server call, and your data never leaves your device.
Element attributes are collected under a "@attributes" key. Child elements that share the same tag name are grouped into an array, while a single child stays a plain value.
If an element contains only text, it becomes a plain string. When text is mixed with child elements, or the element also has attributes, the trimmed text is kept under a "#text" key. Invalid XML is reported as an error instead of partial output.