Free & Open Source

Find the right XPath, instantly

Pick any element on the page — Xpather generates up to 7 XPath strategies ranked by uniqueness. Review matches in a live DOM tree, copy with one click.

Everything you need for XPath

From quick element picks to advanced expression evaluation — all in a single panel.

7 Strategies per Element

ID, data-attributes, text content, class, attribute, optimized shortest path, and absolute — all generated and ranked automatically.

Smart Element Picker

Alt+hover highlights elements in real time. Alt+click captures the target. No DevTools required.

Live XPath Evaluation

Type any XPath expression and instantly see how many elements match, with a structured DOM tree preview.

DOM Tree Preview

Visual hierarchy of matched elements — see tag names, attributes, and text content at a glance.

Dark & Light Themes

Follows your system preference or switch manually. Comfortable in any environment.

Zero Telemetry

No tracking, no network requests, no analytics. Everything runs locally in your browser.

Three steps to the right XPath

1

Pick an Element

Activate the picker with Alt+click or the toolbar button. Hover to highlight, click to select.

2

Review Strategies

Xpather generates up to 7 XPath variants. The best match is marked with a star. Check the DOM tree to verify.

3

Copy & Use

One click to copy any XPath to clipboard. Paste into your test framework, scraper, or DevTools console.

Privacy first

Xpather is a local tool. Your data never leaves your browser.

No tracking or analytics
No network requests
No data collection
No remote servers
Fully open source
MIT licensed

Ready to find the right XPath?