XML Tree Viewer
Browse XML as a tree, copy XPath, and lightly edit attribute/text values.
All processing on this page runs locally in your browser unless noted otherwise.
Ctrl/⌘ + Enter to run
Click a node to highlight source. Double-click attribute/text to edit. Hover for XPath copy.
No tree yet. Click “Build tree”.
How to use
- Paste XML on the left, then Build tree.
- Click nodes to highlight the matching source snippet.
- Copy XPath or double-click editable values to sync back.
FAQ
Can I edit the tree?
Attribute, text, comment and CDATA values can be edited; structure edits are limited in V1.
How accurate is source highlight?
It searches for a best-effort snippet match in the editor.