Free XML Tree Viewer Online
Visualize XML as an interactive collapsible tree — expand, collapse, and inspect nested elements instantly.
How it works
Paste XML
Paste any XML document into the input field.
View tree
Click View XML or press Ctrl+Enter to render the interactive tree.
Expand and collapse
Click any element node to toggle its children.
Inspect attributes
Attributes are shown inline next to the element tag in orange.
Common use cases
Exploring SOAP responses
SOAP API responses are deeply nested XML. Visualize the tree to find the element you need without counting indentation.
Reading RSS/Atom feeds
Parse feed XML to see the hierarchy of channel, item, and metadata elements.
Config file inspection
Explore Maven pom.xml, Spring config, or Android manifest files as interactive trees.
SVG structure inspection
Visualize SVG XML to understand the element hierarchy before editing paths.
Frequently asked questions
Is my XML validated?
Yes — DOMParser validates well-formedness. Invalid XML will show an error.
Are attributes shown?
Yes — all attributes are listed inline in the node label in the format attr="value".
How deep does the tree go?
The tree renders the full document depth. Deep trees start partially collapsed for readability.
Does my XML leave the browser?
No. DOMParser is a native browser API.