<→
XML → JSON Converter
client-sideConvert XML to pretty JSON. Handles nested elements, attributes (@attributes), repeated tags as arrays. Pure browser magic.
Indent
XML Input0 chars
JSON Output
JSON output will appear here...
🔄
Attributes & Nesting
XML attributes become @attributes keys, repeated tags auto-convert to arrays.
🧠
Recursive Parsing
Deeply nested XML handled perfectly with pure JS recursion – no external libs.
🔒
Browser-Only
Everything runs client-side – zero server calls, private & instant.