xpathClassic tool

XPath Generator

Build XPath selectors based on tag, id, class, attribute and visible text.

Enter the main signals from an element to generate XPath suggestions useful for automation, scraping, testing and page inspection. The tool does not replace reviewing the real DOM, but it cuts down the time spent writing selectors from scratch.

It returns multiple options so you can choose the most stable one for the page context.

Use clear inputs to get a more useful result.