Precision Scraping with CSS & XPath
Target exact elements with CSS selectors or XPath expressions. Full control over what you extract, directly in your spreadsheet.
| A | B | C | |
|---|---|---|---|
| 1 | URL | Formula | Result |
| 2 | example.com/products | | — |
| 3 | news.com/article | =SCRAPE_BY_XPATH(A3, "//p[@class='date']") | January 15, 2025 |
| 4 | store.com/item | =SCRAPE_BY_CSS_PATH(A4, ".price") | $199.99 |
Full control over data extraction
Use familiar web selectors to target exactly what you need.
CSS Selectors
Use familiar CSS syntax to target elements by class, ID, or attributes.
XPath Support
Powerful XPath expressions for complex element selection.
Precise Control
Target exact elements — no guessing, no AI interpretation.
Extract Attributes
Get href, src, data attributes — not just text content.
Multiple Elements
Extract all matching elements as arrays or join them together.
Reliable & Fast
Direct element targeting is faster and more predictable than AI.
CSS selector scraping
Use familiar CSS syntax to target elements precisely.
h1.priceimg.product-imageXPath expressions
Powerful XPath for complex element selection.
//div[@class='content']/p//a/@href(//li)[3]Frequently Asked Questions
CSS selectors and XPath are precise ways to target specific elements on a webpage. They give developers full control over exactly which data to extract.
Use CSS/XPath when you need exact, repeatable extraction from consistent page structures. It's faster and more precise for structured websites.
Right-click any element in Chrome, select 'Inspect', right-click the element in DevTools, then 'Copy > Copy selector'. Paste this into your formula.
Yes! Use selectors that match multiple elements (like 'li' for all list items) and the function returns all matches as an array.
CSS/XPath selectors may break if the site changes. Use stable selectors like IDs and data attributes when possible. AI extraction is more resilient to changes.
Ready for precision web scraping?
Use CSS and XPath selectors for exact data extraction.
Full developer control in your spreadsheet.
No credit card required • CSS & XPath support • Developer-friendly