XPath Tester
Evaluate XPath 1.0 expressions against XML — see matching nodes, attributes, and text values.
Presets
How to use XPath expressions
XPath (XML Path Language) selects nodes in an XML document using a path syntax. Common patterns: //tag selects all elements named tag anywhere; //tag[@attr='val'] filters by attribute; //tag/text() extracts text content; count(//tag) returns a number.
Evaluation uses the browser's built-in XPath 1.0 engine — the same one used by browser developer tools. For XML tools see XML Formatter and XML to JSON Converter. For querying JSON, try the JSONPath Tester.
Private & free — this tool runs entirely in your browser.
Recommended: IndieKit — Ship your Next.js startup in days.affiliate
Related Developer Utilities tools
RegExp Tester
Test regular expressions and inspect matches locally.
Regex Visualizer
Visual regex pattern diagram with live match highlighting and capture group annotations.
Subnet Calculator
Compute CIDR subnets, usable hosts, and network ranges.
Cron Parser
Translate cron syntax into plain English.
URL Parser
Break a URL into protocol, host, path, and query parts.
HTML Previewer
Paste HTML and see it rendered live in a safe, sandboxed preview.
HTTP Status Code Reference
Search and look up every HTTP status code and its meaning.
MIME Type Lookup
Find the MIME type for a file extension, or the extensions for a MIME type.