PDF Text Extractor – Bulk PDF to Text from URLs avatar

PDF Text Extractor – Bulk PDF to Text from URLs

Pricing

$2.50 / 1,000 pdf extracteds

Go to Apify Store
PDF Text Extractor – Bulk PDF to Text from URLs

PDF Text Extractor – Bulk PDF to Text from URLs

PDF text extractor: PDF to text in bulk from PDF URLs, or every PDF linked on a page. Text, page count, per-page text and metadata. No OCR, no browser.

Pricing

$2.50 / 1,000 pdf extracteds

Rating

0.0

(0)

Developer

Innovative Cookie

Innovative Cookie

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 minutes ago

Last modified

Features

Limited permissions

Share

What does PDF Text Extractor do?

PDF Text Extractor converts PDF to text in bulk. Give it a list of PDF URLs, or web pages that link to PDFs, and it returns for every file the plain text, the page count, optional per-page text, the word count, document title, subject, keywords and dates, the PDF version, and a flag for scanned PDFs that have no text layer. Export the results to JSON, CSV or Excel, or feed them to an LLM, a RAG pipeline or a search index.

It uses pdf.js over plain HTTP: no browser, no proxy, no captcha bypass. It respects robots.txt and spaces requests to the same host.

Why use this PDF to text converter?

  • 📄 Extract text from PDF files at scale: hundreds of PDF links in one run, 3 in parallel by default.
  • 🔎 PDF scraper for web pages: paste a page URL (a publications page, a documentation index, a library catalogue) and every linked or embedded PDF is found and read. One level only, no crawl.
  • 🧩 Per-page text for citations, page-level search and RAG chunking.
  • 🏷️ PDF metadata: title, subject, keywords, creator tool, producer, creation and modification dates, PDF version, language, forms present.
  • 🖨️ Scanned PDF detection: pages without a text layer are listed and likelyScanned is set, so you know which files need OCR (OCR is not included).
  • 🔐 Privacy by default: e-mail addresses and phone numbers in the text are replaced with placeholders, and the document author field is never returned. E-mails and phone numbers are also removed from the title, subject and keywords.
  • 🧱 Safe limits: maximum file size, pages read per PDF and characters per PDF, so a huge document never breaks a run.
  • 🔌 Works in pipelines: API, webhooks, Make, Zapier, n8n, Google Sheets, LangChain or an AI agent through the Apify MCP server.

How to extract text from a PDF

  1. Click Try for free.
  2. Paste links in PDF URLs, one per line. Optional: add web pages in Web pages that link to PDFs.
  3. Optional: turn on Include per-page text.
  4. Click Start, then export the table or read it through the API.

To find PDFs across a whole website, list its pages with Sitemap URL Extractor and paste them in Web pages that link to PDFs.

Input

{
"pdfUrls": ["https://www.rfc-editor.org/rfc/rfc9309.pdf"],
"pageUrls": [],
"sameSiteOnly": true,
"maxPdfs": 3,
"maxPagesPerPdf": 500,
"includePages": false,
"redactContactDetails": true
}

The default input is small on purpose so a test run finishes in a few seconds.

Output

One row per PDF (text shortened):

{
"url": "https://www.rfc-editor.org/rfc/rfc9309.pdf",
"sourcePage": null,
"finalUrl": "https://www.rfc-editor.org/rfc/rfc9309.pdf",
"status": "extracted",
"statusCode": 200,
"contentType": "application/pdf",
"fileSizeBytes": 177688,
"pageCount": 12,
"pagesExtracted": 12,
"pagesTruncated": false,
"title": "RFC 9309: Robots Exclusion Protocol",
"metadata": {
"title": "RFC 9309: Robots Exclusion Protocol",
"subject": "This document specifies and extends the \"Robots Exclusion Protocol\" method ...",
"keywords": null,
"creator": "xml2rfc 3.14.2",
"producer": "WeasyPrint 56.1",
"creationDate": "2022-09-10T00:39:45.000Z",
"modificationDate": "2022-09-10T00:39:47.000Z",
"pdfVersion": "1.7",
"language": null,
"hasForm": false,
"isLinearized": false
},
"text": "RFC 9309\nRobots Exclusion Protocol\n\nAbstract\n\nThis document specifies ...",
"textLength": 22196,
"textTruncated": false,
"wordCount": 3204,
"emptyPages": [],
"likelyScanned": false,
"redacted": { "emails": 4, "phones": 0 },
"error": null
}

With Include per-page text, each row also has pages: [{ "page": 1, "text": "...", "charCount": 1830, "truncated": false }, ...].

status is one of: extracted (text found), no_text (valid PDF without a text layer, typically a scan), protected (password-protected, not opened), not_pdf, http_error (4xx or 5xx), blocked (401, 403, 429, 503 or a captcha / bot challenge, never bypassed), skipped (robots.txt or a non-public address), too_large or error (timeout, DNS, damaged file). The SUMMARY record in the key-value store gives the counts per status and the web pages scanned.

How much does it cost?

The Actor uses pay-per-event pricing: $0.0025 per PDF extracted (one PDF whose text was successfully read, whatever its number of pages), i.e. $2.50 per 1,000 PDFs. A PDF counts as extracted, and is charged once, as soon as text is read from at least one page, even if other pages are scanned or the text is cut by your page or character limits. Starting December 2, 2026, this Actor fee applies; until then there is no Actor fee, you only pay Apify platform usage. PDFs without a text layer (no_text), password-protected PDFs, files that are not PDFs, too large files, HTTP 4xx/5xx, blocked files, files excluded by robots.txt, private addresses, network errors and web pages scanned for links are free, there is no start fee and no per-page fee, and Apify platform usage is included in the price once the Actor fee applies. You can cap your spend with the maximum cost per run setting; the Actor stops processing new PDFs when the cap is reached. The Apify Free plan includes $5 of monthly credit. The Actor uses no browser.

The Actor only downloads public http(s) files and pages that you provide. It reads the text layer of the PDF, like a PDF reader would. It does not log in, does not open password-protected files and does not get around any protection. To limit personal data, e-mail addresses and phone numbers are removed from the text by default (best effort: some formats may be missed) and the document author is never returned; other personal information may still appear in a document's text, so only process documents you have the right to use, follow the websites' terms of use and copyright, and comply with data protection law (for example GDPR) for what you do with the text: if the documents contain personal data, you are the data controller and need a lawful basis. Do not use this Actor to build profiles of individuals or contact lists for unsolicited marketing. If unsure, consult a lawyer.

Not affiliated with or endorsed by the websites you process. "PDF" refers to the open file format (ISO 32000).

Responsible use

  • Only process documents you own or are otherwise allowed to use, and follow the websites' terms of use.
  • The Actor does not republish documents. Do not redistribute extracted text you have no rights to, and respect any machine-readable text and data mining opt-out set by the rights holder.
  • Politeness limits are built in: at least 250 ms between requests to the same host (500 ms by default), robots.txt and Crawl-delay always respected (also at every redirect), no captcha or bot-protection bypass, no paid proxy.
  • Local, private and link-local addresses are rejected, including when a redirect would lead there.

FAQ

Does it do OCR on scanned PDFs?

No. It reads the text layer that most PDFs created by software already have. Scanned or image-only pages are listed in emptyPages, and a file with no text at all gets the status no_text.

Can it read password-protected PDFs?

No. They are reported as protected and left unopened.

How large can a PDF be?

Up to 100 MB (50 MB by default). Long documents are fine: the first 500 pages are read by default (up to 5,000), and the text is capped at 1,000,000 characters per PDF by default so every result fits in the dataset.

Does it keep the layout or tables?

It returns reading-order text with line breaks, not a visual layout. Table cells come out as lines of text.

Something does not work?

Open an issue in the Issues tab with a sample PDF URL and the SUMMARY record.

More Actors by the same author (innovative_cookie on Apify):