Tested tool guide
Tested browser tools
Checked August 16, 2026
What XPath Tester does, with a checked example
Paste an XML or HTML document into one pane, type an XPath expression into the other, and the tool evaluates that expression against the pasted document, listing each node it matches along with the node's type and value. An expression builder assembles paths from common building blocks instead of requiring the full syntax from memory. The usual first surprise: the expression is evaluated against the document exactly as pasted, not against a live page, so anything a page's scripts inject after load will not match, and a valid expression can return nothing when tag case, implicit table structure, or namespaces do not line up.
Worked example
A concrete input and expected output from the current implementation.
Input
<library>
<book id="1"><title>Pride and Prejudice</title><price>12.50</price></book>
<book id="2"><title>Dune</title><price>9.99</price></book>
</library>
Expression: //book[price > 10]/title/text()
->
Expected output
One node matched: the text node "Pride and Prejudice", the title of the only book whose price is above 10.
The predicate [price > 10] converts each book's price text to a number and keeps the book only if that number exceeds 10, so 12.50 passes and 9.99 does not. The trailing /title/text() step then selects the text node under that book's title.