# Web scraping and HTML parsing

Load web pages from code, and read their HTML. Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.

| Rank | Project | Overall | Needed by many | Helps a lot | Holds up over time | Used widely | Vouched for | Safe | Best for |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | [Cheerio](https://elestia.ai/opensource/scraping/cheerio/index.md) | 8.1 | 5.5 | 8.2 | 7.4 | 7.6 | 7.5 | 8.4 | Developers who fetch static or server-rendered HTML and want to extract data with simple CSS selectors and no browser. |
| 2 | [Puppeteer](https://elestia.ai/opensource/scraping/puppeteer/index.md) | 7.9 | 5.2 | 8.3 | 8.8 | 6.9 | 7.8 | 8.2 | Node.js teams who need a real, mostly Chrome-based browser to render dynamic pages, scrape them, or produce screenshots and PDFs. |
| 3 | [Crawlee](https://elestia.ai/opensource/scraping/crawlee/index.md) | 7.8 | 3.9 | 8.3 | 7.8 | 4.2 | 6.1 | 7.2 | Teams that build crawlers for many pages and need retries, queues, proxies and anti-blocking in Node.js. |
| 4 | [htmlparser2](https://elestia.ai/opensource/scraping/htmlparser2/index.md) | 7.3 | 4.9 | 7.5 | 7.3 | 6.8 | 7.5 | 8.1 | Developers who need a very fast, streaming or callback-based HTML/XML parser, or who build their own tools on a light DOM. |
| 5 | [jsdom](https://elestia.ai/opensource/scraping/jsdom/index.md) | 7.1 | 5.3 | 7.2 | 7.8 | 8.2 | 7.9 | 7.0 | Node projects that need a standards-faithful DOM, such as running Readability or DOMPurify, or DOM-heavy tests, without starting a real browser. |
| 6 | [Stagehand](https://elestia.ai/opensource/scraping/stagehand/index.md) | 6.8 | 4.2 | 6.9 | 7.3 | 5.8 | 6.1 | 5.9 | TypeScript teams that want AI-assisted extraction and actions on sites they do not control, mixed with normal browser code. |
| 7 | [Readability](https://elestia.ai/opensource/scraping/readability/index.md) | 6.8 | 3.8 | 7.4 | 5.3 | 5.2 | 7.5 | 7.5 | Developers who need clean article text from web pages, for example to feed an LLM or build a reader view, and who already load the page with jsdom, linkedom or a browser. |
| 8 | [Happy DOM](https://elestia.ai/opensource/scraping/happy-dom/index.md) | 5.5 | 4.7 | 5.7 | 6.3 | 5.5 | 5.4 | 4.6 | Teams that want a fast, in-process DOM for unit tests or for trusted HTML, and do not need a real browser. |
| 9 | [LinkeDOM](https://elestia.ai/opensource/scraping/linkedom/index.md) | 5.4 | 4.4 | 5.9 | 3.8 | 4.7 | 5.1 | 6.4 | Server or Worker code that needs a light, fast DOM for SSR or for feeding HTML to Readability or Defuddle, where perfect spec behaviour is not needed. |
| 10 | [Selenium WebDriver](https://elestia.ai/opensource/scraping/selenium/index.md) | 5.2 | 4.6 | 5.6 | 8.1 | 5.9 | 6.0 | 6.6 | Teams that already run Selenium or Selenium Grid, or that need the W3C WebDriver standard across many browsers and languages. |

## The numbers

| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
| --- | --- | --- | --- | --- | --- | --- |
| Cheerio | 143M | ×2.8 | 31k | 639 | Jan 2026 | 0 |
| Puppeteer | 62M | ×2.6 | 96k | 903 | Nov 2026 | 0 |
| Crawlee | 741k | ×3.8 | 27k | 781 | Sept 2026 | 0 |
| htmlparser2 | 565M | ×3.1 | 4.8k | 184 | Mar 2026 | 0 |
| jsdom | 626M | ×4.2 | 22k | 328 | Nov 2026 | 0 |
| Stagehand | 11M | ×5.9 | 26k | 858 | Nov 2026 | 1 |
| Readability | 16M | ×11 | 12k | 5 | Mar 2025 | 1 |
| Happy DOM | 138M | ×11 | 4.8k | 132 | Oct 2026 | 7 |
| LinkeDOM | 37M | ×25 | 2.1k | 11 | Nov 2026 | 0 |
| Selenium WebDriver | 8.4M | +24% | 35k | 1.9k | Nov 2026 | 0 |

All categories: https://elestia.ai/opensource/index.md
