Skip to main content

XPath Tester

v1.0.0

Test XPath expressions against XML documents with live results

Tests XPath 1.0 expressions against XML documents and shows all matched nodes with their paths, names, and text content.

How to use
  • Paste your XML into the left panel, type an XPath expression (e.g. //book/title), and click Evaluate.
  • Use the example picker presets to explore element selection, attribute predicates, and conditional filtering.
  • The results panel shows each matched node's full path with positional predicates when sibling elements share a name.
Matched nodes will appear here