XPath Tester - Free Online XML Query Tool | IconVault
Test XPath expressions against any XML in your browser. See matched node paths, string values and scalar results instantly. Free, nothing uploaded.
XPath Tester
Test XPath expressions against any XML and see matched node paths instantly
XML document
XPath expression
5 of 5 free evaluations left. Runs in your browser, nothing is uploaded.
Uses document.evaluate with all result types. Namespaces are not registered, so namespace-qualified paths may not match.
About this tool
IconVault's XPath Tester lets you evaluate XPath expressions against any XML document and see exactly what they match. Paste your XML, type an expression like `//book[@lang='en']/title`, and get back every matched node with its full node path and string value. It supports all XPath result types through the browser's native `document.evaluate`: node sets, booleans, numbers and strings.
The tool ships with sample XML and ready-made expressions for `count()`, `sum()`, predicates and attribute selectors, so you can learn by experimenting. Everything runs fully in your browser with nothing uploaded, which makes it safe for testing Selenium, Playwright or scraping selectors against private XML. It is free to try, with a small number of evaluations before Pro is suggested. One honest limitation: namespaces are not registered, so namespace-qualified paths may not match.
Frequently asked questions
Popular searches
More tools
Code Playground
Write HTML, CSS & JS with live preview.
JSON Formatter
Beautify, validate & minify JSON.
Base64 Encoder
Encode & decode text and files.
JWT Decoder
Inspect tokens without sending them anywhere.
Coming soon
CLI
Coming soon
Figma plugin
Coming soon
VS Code extension
Coming soon
Chrome extension
Coming soon
AI icon generator
Coming soon
Team workspaces
Coming soon