Run XPath on XML and see every match.
Guide
Paste XML
XML and an XPath · Runs in your browser.
Write XPath
See matches
You get matching nodes.
XPath tester evaluates an XPath expression on the XML you paste and shows every matching node with its path. It uses your browser's own XPath engine, the same one scripts on a web page use, so what matches here matches in document.evaluate.
It's handy for writing selectors for XML APIs and feeds, SOAP responses, sitemaps, Selenium or Playwright locators, and XSLT templates. Namespaced documents work too. Everything runs in your browser.
Next: XML viewer · XSLT transformer · JSONPath tester
More in Developer