Test XPath queries against XML or HTML locally. Free, private, runs in your browser.
100% private — your files and text never leave your browser. All processing happens locally on your device.
XPath Tester parses pasted XML or HTML in the browser and evaluates expressions with the native XPath engine. It is useful for checking namespace queries, attribute selectors, text-node matches, and extraction rules before putting them into code.
Add prefix-to-URI mappings directly in the tool when XML uses namespaces. DOMParser treats the document as local source text; external entities, remote doctypes, and linked resources are not loaded.
Wildcard and descendant queries can match a lot of nodes. Convertful caps the result set, shows node previews as source text, and lets you copy or download the output and report.
No. XML or HTML is parsed in your browser from pasted or uploaded text. External entities, doctypes, and remote resources are not fetched.
Yes. Add namespace mappings such as `bk=https://example.com/books`, then use the prefix in the XPath expression.
You can return matching nodes, string values, numbers, or booleans. Node output includes attributes, text nodes, and serialized element previews.
Yes. Set a cap up to 500 matches so wildcard or broad descendant queries do not freeze the browser.
No. The document and XPath expression stay in the current browser tab.