XPath tester

Evaluate XPath 1.0 expressions against an XML document and list matching nodes.

Parsed and evaluated in this browser. Nothing is sent anywhere.

XPath 1.0 against browser XML parsing only — XPath 2.0+ functions, namespaces beyond the document's own prefixes, and HTML documents are not supported.

How to use

  1. Paste an XML document.
  2. Enter an XPath expression.
  3. Evaluate and inspect the matched nodes.

What it supports

Browser-parsed XML and XPath 1.0 only — documents up to 2M characters, expressions up to 2,000, at most 500 matches listed. XPath 2.0+ functions and HTML documents are not supported.

Related tools

Related guides