XMLData Tools
XML → JSON Converter
Paste any XML document and instantly convert it to readable, formatted JSON. Handles attributes (prefixed with @), nested elements, repeated nodes (converted to arrays), and text content. All processing is done client-side with the browser's built-in DOMParser.
Paste XML to the left
Attributes become
@attr keys · repeated tags become arrays · all processing is client-side