XPath Evaluator

Evaluate an XPath expression against XML or HTML using the browser’s native document.evaluate. Paste the document, set the expression in Options, and list matching nodes without a server round-trip.

Useful for scraping checks and XML config inspection. Switch Document mode to HTML when querying markup pages.

Input
Paste or type your content here…
Output
Your result will appear here

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.