XPath Evaluator
Evaluate an XPath expression against XML or HTML using the browser’s native document.evaluate. Paste the document, set the expression, and list matching nodes without a server round-trip.
Useful for scraping checks and XML config inspection. Switch Document type to HTML when querying markup pages. HTML mode is lenient; XML mode reports parse errors.
Document
Paste or type your content here…
Results
Paste XML or HTML and enter an XPath expression.
Frequently Asked Questions
Which XPath version?
Whatever your browser implements (typically XPath 1.0).
Namespaces?
Complex namespace resolvers are limited in this client-side tool - prefer local-name queries when needed.