An article extractor strips ads, navigation menus and other clutter from a web page and returns the article's clean text, usually with its title, author, and publication date.
At Exa, we extract pages for search and retrieval. Our Contents API returns clean page content from a URL, including JavaScript-rendered pages and PDFs, with the author when the page names one and an estimated publication date.
Below we compare eight tools: one browser extension, three open-source libraries, and four APIs. The comparison covers JavaScript-rendered pages, PDFs, metadata, output format, and price. Then we cover how to choose one and show first-extraction code for @extractus/article-extractor, Trafilatura, and Exa Contents on the same article. Last, we explain what these tools can and can't do about paywalls.
What an article extractor removes and keeps
An extractor sorts every block on a page into boilerplate or article.
-
Removed. Ads, headers, navigation menus, footers, cookie banners, comment threads, and related-article blocks.
-
Kept. Body text, headings, title, author, and publication date.
Most extractors find the main block with heuristics. Results vary by layout, so the same tool can return a clean article from one site and miss the byline on another.
What each extractor handles: JavaScript, PDFs and metadata
Six of the eight tools return author and date. Article Extractor Pro returns the title only, and Firecrawl doesn't document author or date. Each row's first column links to a page about the tool. For PDFs in depth, see PDF to Markdown: converters, open-source tools, and APIs for LLM pipelines.
| Tool | Type | JavaScript-rendered pages | PDFs | Author and date returned | Output format | Price |
|---|---|---|---|---|---|---|
| Exa Contents | API | Yes | Yes, at a URL | Yes; author when the page names one, date estimated from the HTML | Markdown | $1 per 1,000 pages per content type |
| Article Extractor Pro | Browser extension | Yes, as your browser renders them | Not documented | No; title only | Plain text | Free to install |
| @extractus/article-extractor | Node.js library | No; pass rendered HTML | Not documented | Yes | HTML | Free, MIT |
| Apify Article Scraper | API | No; Apify says they "may fail" | Not documented | Yes | Markdown, text, HTML | From $3.50 per 1,000 articles |
| Diffbot | API | Yes | Yes, in direct calls | Yes | JSON | Free for 10,000 credits a month |
| Firecrawl | API | Yes | Yes | Not documented | Markdown, JSON, HTML | Free for 1,000 credits a month |
| Mozilla Readability | JavaScript library | Yes, from a rendered DOM | Not documented | Yes | HTML, text | Free, Apache-2.0 |
| Trafilatura | Python library and CLI | No; render first | Not documented | Yes | TXT, Markdown, CSV, JSON, HTML, XML | Free, Apache-2.0 |
How to choose an article extractor
The choice comes down to who runs the extraction and how many pages they need. Within each type, three constraints separate the tools: whether JavaScript pages must be rendered first, whether PDFs are handled, and whether author and date come back.
-
Reading a few articles in the browser. Use an extension such as Article Extractor Pro, which works on the open page with no code. It returns the title only, with no author.
-
A code project that fetches pages itself. Use Trafilatura (Python) or @extractus/article-extractor (Node.js). Both are free, run locally, and return metadata, but both need JavaScript pages rendered first in a headless browser. Mozilla Readability (JavaScript, free under Apache-2.0) is another option. It needs a rendered DOM, which you supply, and returns
bylineandpublishedTime. -
A pipeline that needs clean text and metadata for many URLs. Use an API, where the provider handles fetching. Exa Contents and Diffbot render JavaScript and handle PDFs (Diffbot in direct calls). Both return author and date; Exa Contents returns the author when the page names one and an estimated publication date. Firecrawl renders every page in Chromium, but its author and date are not documented. The Apify Article Scraper uses plain HTTP requests with no browser, and Apify says JavaScript pages "may fail".
Browser extensions
An extension extracts the article in the tab you have open.
Article Extractor Pro is a Chrome extension that strips ads, images, and navigation from a news article and leaves the title and clean text, ready to copy. It opens in a side panel, saves extracted articles locally for 24 hours in a searchable library, and can highlight quotes. Its listing says it works on sites that block automated tools, such as Reuters and WSJ, because it reads pages in your browser.
Reading in your browser also means it works on one page at a time and sees only what you can see. It suits a researcher collecting a few dozen articles by hand, not a pipeline processing thousands of URLs overnight.
Open-source libraries
A library runs inside your code, so you control fetching, retries, and storage.
Node.js and JavaScript
@extractus/article-extractor fetches a URL and returns title, author, published, description, image and content (the article as cleaned HTML). It uses the runtime's standard fetch. To add a proxy, headers, or timeouts, pass your own fetcher. Every field is optional in the type definitions, so a page with no byline returns no author.
// npm install @extractus/article-extractor
import { extract } from '@extractus/article-extractor'
const article = await extract('https://www.niemanlab.org/2026/10/metas-new-commercial-terms-will-allow-the-scraping-of-news-sites-legal-experts-say/')
console.log(article.title, article.author, article.published)
console.log(article.content.slice(0, 300))It doesn't run a browser. For JavaScript pages, render the page in a headless browser first, then pass the HTML string to extractFromHtml().
Mozilla Readability is the JavaScript library behind Firefox Reader View. It parses a DOM you supply and returns title, content, textContent, excerpt, byline, siteName and publishedTime. It modifies that DOM, so its README suggests passing a clone. Wrappers such as readability-cli run it from a terminal.
Python
Trafilatura is a Python package and command-line tool that extracts main text, comments, and metadata. It keeps comments and tables by default. The command-line docs list --no-comments and --no-tables to skip them. --with-metadata adds title, author, and date. --only-with-metadata keeps only documents with a title, URL, and date.
This command extracts the same Nieman Lab article as Markdown, without comments or tables, and with metadata:
pip install trafilatura
trafilatura -u "https://www.niemanlab.org/2026/10/metas-new-commercial-terms-will-allow-the-scraping-of-news-sites-legal-experts-say/" \
--no-comments --no-tables --with-metadata --markdownTrafilatura works on raw HTML. Its troubleshooting page says to render JavaScript pages with a browser library such as Playwright first, then pass the HTML to extract().
Article extraction APIs
A web scraping API moves fetching, proxies, and extraction to the provider: you send URLs and get text back.
-
Article Scraper & News Scraper API (the Apify Article Scraper in the table): A community-maintained Actor on the Apify Store, Apify's marketplace of cloud scraping programs. It uses plain HTTP requests, with no browser, to convert article URLs into Markdown, text, or HTML for AI and RAG workflows. Pricing starts at $3.50 per 1,000 articles.
-
Diffbot: The Article API returns full text, cleaned HTML, images, author, date and tags, and executes page JavaScript. Each page costs one credit.
-
Firecrawl: The scrape endpoint renders every page in Chromium, strips navigation, ads, and scripts, and returns Markdown, JSON, HTML, or page metadata.
-
Exa Contents: Our Contents API takes a list of URLs and returns each page as Markdown. Each result includes
title, plusauthorwhen the page names one and an estimatedpublishedDate. Text defaults toverbosity: "compact", which focuses on main content. On a best-effort basis,excludeSectionsdrops content classified asheader,navigation,banner,sidebarorfooter. Contents costs $1 per 1,000 pages per content type (Exa pricing).
This request, from our Contents reference, returns the same Nieman Lab article with its metadata:
from exa_py import Exa
exa = Exa() # reads EXA_API_KEY from the environment
url = "https://www.niemanlab.org/2026/10/metas-new-commercial-terms-will-allow-the-scraping-of-news-sites-legal-experts-say/"
result = exa.get_contents(
[url],
text={"verbosity": "compact",
"exclude_sections": ["header", "navigation", "banner", "sidebar", "footer"]},
max_age_hours=0, # fetch fresh so the section filters apply
)
page = result.results[0]
print(page.title, "|", page.author, "|", page.published_date)
print(page.text[:300])Our reference says section filters and verbosity apply only to freshly fetched content, so the request sets max_age_hours=0. If you also need to find the articles, request page text with your Search API results. The base price includes up to 10 results; generated summaries cost extra.
Paywalls and blocked pages
None of the server-side tools here documents a way past a paywall on its own.
-
The Apify Actor's FAQ says it works only on public pages and can't bypass login walls, paywalls, or CAPTCHAs.
-
Diffbot can extract content behind logins with your own session cookies for a site you log in to.
-
Article Extractor Pro sees what your own subscription shows you.
-
Our crawler, ExaSearchBot, respects the Robots Exclusion Protocol, limits request rates per site, and doesn't try to bypass logins, paywalls, or CAPTCHAs (FAQ).
For paywalled articles at volume, ask the publisher about a content license or a news API. Check each site's terms before you extract from it.







