PDF Text Extractor & Parser API - Text, Metadata, E-mails
Pricing
$1.50 / 1,000 results
PDF Text Extractor & Parser API - Text, Metadata, E-mails
PDF to text API: PDF links in (bulk), full text, page count, metadata, links, e-mails, phones and keyword hits with page numbers out. Per-PDF or per-page rows for RAG, scanned-page flag, Google Drive / Dropbox links. $0.90 per 1,000 PDFs, no start fee.
Pricing
$1.50 / 1,000 results
Rating
0.0
(0)
Developer
Giovanni Rich
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
7 hours ago
Last modified
Categories
Features
Share
PDF text extractor, PDF to text API and PDF parser in one actor: paste PDF links (one or 10,000) and get the full text, page count, metadata (title, author, subject, creation and modification dates, producer, PDF version, language), every link, e-mail address and phone number in the document, keyword hits with page numbers and a scanned-page flag, as JSON, CSV or Excel. Choose one row per PDF, or one row per page for RAG / LLM chunking.
It reads the PDF itself in pure Node.js (Mozilla pdf.js), with no headless browser, no OCR service and no API key. That keeps it fast and cheap: 200 PDFs (5,305 pages, 220 MB) in 93 seconds in a local test on 30 Nov 2026 (the 2-PDF prefill finished in 3.2 s in the Apify cloud), and $0.90 per 1,000 PDFs with no start fee. Links that fail (404, a web page instead of a PDF, password-protected, too large) are reported for free.
What you get
- Text: the whole document as clean text with line breaks, or page by page (
outputMode: page, orincludePageTextsto keep page numbers inside one row). Word count, text length and a truncation flag. - Metadata: title, author, subject, keywords, creator app, producer, creation date and modification date (ISO), PDF version, document language, form (AcroForm / XFA) flag, page count.
- Contacts and links: e-mail addresses, valid phone numbers (international format, country detected), all URLs from link annotations and from the text, plus the list of linked domains. Handy for supplier catalogs, price lists, exhibitor lists, directories and tender documents.
- Keyword search: give up to 100 terms; each row gets
termHits(count, pages, a snippet around the first hit) andmatchedTerms.onlyMatchingkeeps only the PDFs (or pages) that contain a term, and the rest is not charged. - Scanned-PDF detection:
hasTextLayer,scannedPages(pages with no text) andlikelyScanned, so you know which files need OCR instead of getting silent empty text. - Bulk-friendly input: paste a whole list, duplicates are removed,
www.links withouthttps://are fixed, and Google Drive / Dropbox share links are turned into direct downloads. - Status on every link:
ok,failed(with the HTTP code),not_pdf,too_large,encryptedorinvalid_pdf, with download and parse times. Onlyokrows are charged.
Sample output
Real rows from a local run on 30 Nov 2026 over 200 public IRS PDFs (sample-output.json, text cut for the table), search term "penalty":
| fileName | title | pageCount | wordCount | creationDate | emails | first phone | linkDomains | "penalty" hits |
|---|---|---|---|---|---|---|---|---|
| p17.pdf | 2025 Publication 17 | 142 | 174,373 | 2026-01-20 | phishing@irs.gov, spam@uce.gov | +1 800 366 4484 | irs.gov, healthcare.gov, missingkids.com | 116 (pages 5, 8, 13 ...) |
| p505.pdf | 2026 Publication 505 | 48 | 38,471 | 2026-03-31 | +1 800 829 3676 | irs.gov, missingkids.org, fed.acipayonline.com | 39 (pages 1, 3, 5 ...) | |
| f23.pdf | Form 23 (Rev. 11-2022) | 3 | 1,251 | 2022-11-02 | +1 855 472 5540 | prometric.com, pay.gov | 0 | |
| f433a.pdf | Form 433-A (Rev. 6-2026) | 8 | 3,636 | 2026-06-29 | irs.gov | 0 |
One row (shortened):
{"url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf","status": "ok","fileName": "fw9.pdf","title": "Form W-9 (Rev. March 2024)","subject": "Request for Taxpayer Identification Number and Certification","creationDate": "2024-03-06T13:18:13.000Z","pdfVersion": "1.7","language": "en-US","hasForm": true,"pageCount": 6,"text": "Form W-9\n(Rev. March 2024)\n\nRequest for Taxpayer\nIdentification Number and Certification ...","textLength": 37975,"wordCount": 6385,"likelyScanned": false,"emails": ["phishing@irs.gov", "spam@uce.gov"],"phones": [{ "number": "+18007721213", "display": "+1 800 772 1213", "country": "US" }],"links": ["https://www.irs.gov/FormW9", "https://www.ssa.gov/", "https://www.ftc.gov/complaint"],"termHits": [],"fileSizeBytes": 140815,"downloadMs": 221,"parseMs": 159}
How to use
- Paste your PDF links into PDF URLs (one per line). An empty input runs a demo on two IRS forms.
- Pick one row per PDF (default) or one row per page.
- Optional: a page range ("1-3", "10-"), search terms, only matching, max characters, or turn the text off to get just metadata and contacts.
- Run, then download the dataset (JSON, CSV, Excel, XML) or read it through the API.
RUN_SUMMARYin the key-value store lists every link with its status.
Example input for supplier price lists, only pages that mention MOQ:
{"pdfUrls": ["https://example.com/catalog-2026.pdf", "https://drive.google.com/file/d/FILE_ID/view"],"outputMode": "page","searchTerms": ["MOQ", "FOB", "lead time"],"onlyMatching": true,"phoneCountry": "CN"}
Pricing
Pay per result: $0.0009 per saved row = $0.90 per 1,000 PDFs in document mode (one row per PDF, any number of pages). In page mode every page is one row. No start fee, no monthly fee. Failed links, web pages, password-protected and oversized files, and rows dropped by onlyMatching are free. Set Max charged rows or the run's maximum cost to cap spend.
Price compared (Apify Store, checked 30 Nov 2026)
| Actor | Users (total / 30 d) | Price per 1,000 PDFs | Start fee |
|---|---|---|---|
| This actor | new | $0.90 (document mode) | none |
| automation-lab/pdf-text-extractor | 759 / 127 | $3.45 | $0.005 per run |
| memo23/pdf-text-extractor | 631 / 159 | $5.00 (+ OCR $15 / 1,000 pages) | $0.005 per run |
| gochujang/pdf-text-extractor | 316 / 30 | $5.00 + $1.00 per 1,000 pages | $0.001 per run |
For 1,000 ten-page PDFs that is $0.90 here, $3.46 at automation-lab and $15.00 at gochujang. Prices are the Store's free-tier list prices on the date above; rivals may change them. Rival speed was not measured; ours is the local figure above (download speed of the source site usually dominates). This actor does no OCR: scanned pages are flagged, not read.
Use cases
- RAG and LLM pipelines: page-level rows with page numbers, ready to chunk and embed.
- B2B lead generation: pull e-mails, phones and websites out of supplier catalogs, trade-fair exhibitor lists, member directories and tender documents.
- Document monitoring: schedule a weekly run over the same links and compare
modificationDate,pageCountortextLengthto spot changed price lists, terms or filings. - Compliance and research: search hundreds of reports, policies or filings for terms and get the pages they appear on.
- Data hygiene: find which files in a library are scanned images, password-protected or broken links.
Integrations
Works with the Apify API, Zapier, Make, n8n, Google Sheets, Slack, webhooks and the Apify MCP server, so AI agents can call it as a tool: input is a list of PDF URLs, output is one JSON row per PDF or page, cost is $0.0009 per row.
FAQ
Can it read scanned PDFs? No OCR is done. Pages without a text layer are listed in scannedPages and likelyScanned is true when half or more of the pages have no text, so you can send just those files to an OCR tool.
What about password-protected PDFs? They come back with status encrypted and are not charged. PDFs that only restrict printing or copying usually open and are extracted normally.
How big can a file be? Up to 500 MB (maxFileSizeMb, default 50). For files above ~100 MB give the run more memory and lower maxConcurrency.
A site answers 403 or 429. Turn on the Apify proxy in Proxy configuration and lower maxConcurrency. The row shows the HTTP code; it costs nothing.
Does it crawl websites for PDFs? No, it downloads exactly the links you give it, once each. Respect each site's terms and robots rules when you choose links.
Is the text kept in reading order? It follows pdf.js text order with line breaks. Multi-column layouts and tables come out line by line, not as structured tables.
Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble