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.

No matches yet. Enter an expression and Run.

How to use

  1. Paste XML and an XPath 1.0 expression.
  2. Use templates for common queries, then Run.
  3. 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.

Related tools