PDF Extractor: PDF to Text, Tables & Metadata avatar

PDF Extractor: PDF to Text, Tables & Metadata

Pricing

from $2.80 / 1,000 extracted pdfs

Go to Apify Store
PDF Extractor: PDF to Text, Tables & Metadata

PDF Extractor: PDF to Text, Tables & Metadata

PDF to text and PDF table extractor for public PDF URLs (input: list of PDF URLs, optional page range). Per-page text, tables, title/author metadata. Scanned pages flagged, no OCR. Empty input = free demo. $0.004 per PDF incl. 20 pages, $0.0005 per extra page.

Pricing

from $2.80 / 1,000 extracted pdfs

Rating

0.0

(0)

Developer

Actor Factory

Actor Factory

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Features

Limited permissions

Share

PDF to text, tables & metadata

For developers, analysts and AI/RAG pipelines that need the contents of PDFs as clean data. Give it public PDF URLs and get per-page text, tables as rows and cells and document metadata (title, author, producer, page count). A pdf to text and pdf table extractor in one Actor, with no OCR and no files to upload. $0.004 per PDF (first 20 extracted pages included) + $0.0005 per extra page. Leave the input empty for a free demo.

Use cases

  • Feed reports, filings, manuals and papers into a RAG pipeline or LLM, page by page with page numbers
  • Pull tables out of financial reports, price lists and government statistics into JSON/CSV
  • Build a searchable text index of a PDF library, with title and author from the metadata
  • Spot scanned documents (image-only pages) before sending them to an OCR service

How it works

  • Each PDF is downloaded once, then parsed with pdfplumber (MIT licence). Text and tables come from the PDF's own text layer.
  • pages limits the range (1-5,8, 3-), maxPagesPerPdf caps long documents (default 200, max 2000).
  • Two output shapes: perPage (one row per page) or perDocument (one row per PDF with all text and tables).
  • Scanned pages: a page with no text layer and only images is returned with scanned: true and empty text. There is no OCR.
  • Pay only for results: a page is charged only when text or tables were extracted. Failed downloads, unreadable PDFs, blank pages and scanned pages are free. The free demo (empty input) is not charged.
  • Safe by design: URLs that resolve to internal addresses (localhost, private ranges, link-local such as 169.254.169.254) are never contacted, including redirect targets (blocked_private_address). Max 5 redirects, 50 MB per file, 60 s per download, %PDF signature required.
  • Per-document SUMMARY in the key-value store: title, author, producer, pageCount, pagesExtracted, pagesCharged, scannedPages, error.

Input

{ "urls": ["https://example.com/report.pdf"], "pages": "1-5,8", "extractTables": true, "outputMode": "perPage", "maxPagesPerPdf": 200 }

Output (perPage)

{
"url": "https://example.com/report.pdf", "page": 1, "text": "Quarterly Report ...", "charCount": 1834, "scanned": false, "error": null,
"tables": [{"header": ["Region", "Revenue", "Growth"], "rows": [["North", "1,200", "5%"], ["South", "900", "7%"]]}]
}

header is the first row of a table when it looks like a header (all cells filled, no numbers), otherwise null and the first row stays in rows. error is e.g. http_404, not_a_pdf, file_too_large, timeout, too_many_redirects, encrypted, unreadable_pdf, blocked_private_address, bad_pages:... (a failed PDF produces one row with page: 0). In perDocument mode each row has text, tables (each with its page), title, author, producer, pageCount, pagesExtracted, scannedPages, error.

Pricing

$0.004 per PDF (pay per event, pdf; includes the first 20 extracted pages) + $0.0005 per extra page (page). Example: a 10-page PDF costs $0.004, a 100-page PDF $0.044. Failed, scanned-only and empty PDFs are free. On the Apify Free plan, the $5 of monthly platform credit covers about 1,250 PDFs a month (other events extra) — enough to try it on real data.

Use it from the API, Make, n8n or an AI agent (MCP)

Run it and get the results back in one HTTP call (replace <YOUR_TOKEN> with your Apify API token):

curl -X POST "https://api.apify.com/v2/acts/ucchiii~pdf-extractor/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"], "pages": "1-5", "extractTables": true, "outputMode": "perPage"}'
  • Make, n8n, Zapier: use the Apify app / node, pick this Actor and pass the same JSON input.
  • AI agents (Claude, Cursor and other MCP clients): add https://mcp.apify.com?tools=ucchiii/pdf-extractor to your MCP settings.

FAQ

Which PDFs work? Public http/https PDF URLs with a text layer, up to 500 URLs per run. Each file may be up to 50 MB, must download within 60 seconds (up to 5 redirects) and must start with the %PDF signature. Can I upload a file instead of a URL? No. The input is a list of URLs, so put the PDF somewhere it can be downloaded by a public link first. What about scanned PDFs? There is no OCR. Image-only pages come back with scanned: true and empty text, and they are not charged. What if a PDF cannot be read? You get one row with page: 0 and an error such as http_404, not_a_pdf, file_too_large, timeout or encrypted. It is not charged and the run continues with the next URL. Can it open password-protected PDFs? No. They are reported as encrypted and not charged. What does it cost in practice? $0.004 per PDF including its first 20 extracted pages, then $0.0005 per extra page: a 10-page PDF costs $0.004, a 100-page PDF $0.044. Use Max pages per PDF to cap long documents. Is the PDF file stored? No. Each PDF is downloaded once and parsed; only the extracted rows and the SUMMARY record are saved in your run's storage.

Limits and notes

  • Per-run limits (prices unchanged; they keep a run's cost in line with the price): at most 10 minutes of reading and 10,000 pages per run (pages that are not charged count too), a stop after 100 PDFs in a row with nothing charged (failed, scanned or empty), and a PDF with more than 50 pages to read whose first 50 pages have no text and no tables (scanned) is not read further (shorter PDFs are always read in full). Table detection is skipped for the rest of a PDF after 60 s spent on it (300 s per run), and for pages with over 100,000 characters; text is still extracted. PDFs or pages not read come back as free error rows (run_time_limit_reached, run_page_limit_reached, too_many_failures_in_a_row, no_text_in_first_pages); what was already charged stays charged. The SUMMARY has stoppedByRunLimit and, per PDF, tablesSkippedFromPage.
  • Text order and table detection follow the PDF's layout; complex multi-column pages and borderless tables may need checking.
  • Password-protected PDFs are not opened (encrypted). Only the PDFs you list are downloaded; links inside them are not followed.
  • Only process PDFs you are allowed to download. The text belongs to the document's rights holder.

If this Actor saved you time, a rating on the Store helps others find it.

More tools from the same developer

  • Tesseract OCR — OCR for image URLs and scanned PDFs with built-in Tesseract: text, confidence and line boxes in 8 languages
  • RAG Chunker — split scraped pages into chunks for RAG and vector stores
  • Website Screenshot — screenshots and PDFs of web pages: full page, mobile, element, no cookie banners
  • Google Sheets Export — export an Apify dataset to Google Sheets
  • Bulk URL Status Checker — bulk HTTP status and redirect-chain checker for URL lists