XPath Tester
Evaluate browser-native XPath 1.0 expressions and inspect matches.
All processing on this page runs locally in your browser unless noted otherwise.
Ctrl/⌘ + Enter to run
No matches yet. Enter an expression and Run.
How to use
- Paste XML and an XPath 1.0 expression.
- Use templates for common queries, then Run.
- Click a match to highlight it in the source editor.
FAQ
Which XPath version?
Browser-native XPath 1.0 via document.evaluate.
Are expressions saved?
Yes — recent expressions are kept in localStorage on this device.