XML Parser

Parse XML and inspect its structure as a tree.

XML Input
Parsed Structure
paste XML to inspect its structure

Related Tools

Frequently Asked Questions

What does this show that the XML Formatter doesn't?

It shows the parsed structure as a JSON-like collapsible tree, rather than reformatted XML text — useful for understanding a document's shape at a glance.

How are attributes shown in the tree?

Prefixed with @, alongside the element's other keys, so you can tell attributes and child elements apart.

Is my XML uploaded anywhere?

No — parsing runs entirely in your browser via the native DOMParser.