XML Viewer
Paste or upload XML and explore it as a collapsible tree — nothing leaves your browser.
Why Use Our XML Viewer?
- Instant collapsible tree view
- Search tags, attributes and values
- Click-to-copy element paths
- Works completely in your browser
- No installation or sign-up
Features & Supported Capabilities
- Expand or collapse all nodes in one click
- Shows a child element count on every node
- Download the tree as an SVG image
- Handles files up to 10 MB
- Download the formatted XML output
About this XML viewer
Large XML is hard to understand as plain text. This free online XML viewer displays a document as an interactive, collapsible tree, so you can expand only the elements you care about. Search tags, attributes and values, and click any element to copy its path.
Everything runs in your browser and nothing is uploaded. If you need indented text instead of a tree use the XML formatter. To test an XPath against the same document use the XPath tester, or convert it with XML to JSON.
Frequently Asked Questions
Everything you might want to know about the online XML Viewer.
Search tree box and the viewer highlights matching tags,
attributes and values, automatically expanding the branches that contain them and hiding
the rest.
/library/book[3]/title, ready to paste into your code or an XPath query.