XML → JSON
100% CLIENT-SIDE
Attributes become @name keys, mixed text becomes #text, repeated sibling elements become arrays, and a lone element stays an object. Text interleaved with child elements is joined into one #text, so its original order is not kept. The document must be well-formed.
XML
JSON
More from XMLBeautify
XMLBeautify
Free, 100% client-side XML formatter and beautifier.
XML Well-Formedness Checker
Check XML for well-formedness and get the line and column of the first error: mismatched tags, unquoted or…
Guides
Developer Sponsor / Partner