XML Tree Viewer
Open an XML document as a tree — expand and collapse any branch, copy any path.
Your data never leaves your browser
This tool runs entirely on your computer. What you paste or drop is never uploaded, never stored and never seen by us — close the tab and it's gone. How we know
Press Open tree to expand your document node by node. Sign up takes ten seconds — no credit card required.
Worked example
<order id="7"><line sku="A">2</line><line sku="B">3</line></order>order id="7" (2)
line sku="A": 2
line sku="B": 3This example is one of XML Tree Viewer's test cases — if the tool stopped producing this output, the build would fail.
Questions
- Does my document get uploaded?
- No. The tree is built in your browser from the text you paste — nothing is sent anywhere, and closing the tab is the delete button.
- How big a file can it open?
- Comfortably a few megabytes. Very large documents are slower to draw because every node becomes a row you can expand; collapse the root and open only the branch you need.
- Can I get an element's path?
- Yes — hover a node and copy its path. It reads like /order/line[2]/sku, the shape you paste into an XPath or a mapping.
- What about attributes and namespaces?
- Attributes show on their element and can be expanded like any branch. Prefixes are kept exactly as they appear — nothing is stripped or resolved.
Related tools
Open a JSON document as a tree — expand and collapse any branch, copy any path.
Read an X12 or EDIFACT file segment by segment, with each qualifier explained.
See an SAP IDoc's control record, segments, and fields laid out plainly.
See a WSDL's operations, messages, and types without opening an IDE.