PDF Text Extractor – PDF to Text, Page by Page
Pricing
from $0.70 / 1,000 pdf pages
PDF Text Extractor – PDF to Text, Page by Page
Extract clean text and metadata from PDF files by URL – whole document or page by page, with page ranges.
Pricing
from $0.70 / 1,000 pdf pages
Rating
0.0
(0)
Developer
rowharbor1988
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Paste links to PDF files and get their clean, readable text in seconds, as one row per document or one row per page. Lines and paragraphs are rebuilt from the PDF layout, hyphenated line breaks are joined, and you also get useful metadata (title, page count, creation date, producer).
Try it in one minute
- Click Try for free. The input is already filled in with a public 14-page research paper (PDF), so you can start right away.
- Click Start. A few seconds later you get one row per PDF. This is real output from that sample file (text shortened):
| fileName | pageCount | wordCount | creatorApp | isScanned | text |
|---|---|---|---|---|---|
| tracemonkey.pdf | 14 | 13,494 | TeX | false | "Trace-based Just-in-Time Type Specialization for Dynamic Languages …" |
- Paste links to your own PDFs. Switch Output to One row per page if you need page numbers for chunking or citations. Download as JSON, CSV or Excel, or get the result via API.
What it costs: $0.001 per page extracted, i.e. $1 per 1,000 pages. The 14-page sample costs $0.014. Paid Apify plans get up to 30 % off. Apify's free plan includes monthly platform credit, so you can try it on your own documents at no cost.
Ready-made setups: Convert PDF to text for AI and RAG · Extract PDF text page by page
What you can use it for
- AI and RAG pipelines: turn reports, manuals, papers and contracts into text for embeddings, chatbots and summaries. Page-by-page output makes chunking and citing pages easy.
- Search indexes: make large PDF libraries searchable.
- Document processing: extract the text of invoices, price lists, tenders or annual reports for further parsing.
- Monitoring: combine with a scheduler to read the latest version of a PDF that is published at a fixed URL.
Why this Actor
- Clean text, not character soup: lines, paragraphs and word spacing are reconstructed from the PDF coordinates, and hyphenation at line ends is repaired.
- Page ranges: extract only what you need (
1-3, 5, 10-) and pay only for those pages. - Scanned PDFs are detected: if a PDF has no text layer, it is flagged (
isScanned) instead of silently returning nothing. - Clear errors: password-protected files, broken links and "not actually a PDF" are reported per file in
SUMMARY. - Fast and cheap: no browser, built on Mozilla's pdf.js.
- Privacy-friendly: files are processed only during the run, and the personal metadata field Author is not output.
Input
{"pdfUrls": [{ "url": "https://example.com/annual-report-2025.pdf" },{ "url": "https://example.com/download?id=123" }],"outputMode": "pages","pageRange": "1-10"}
| Field | Description |
|---|---|
| PDF URLs | Direct links to PDF files; download links work too |
| Output | One row per PDF (full text) or one row per page |
| Pages | e.g. 1-3, 5, 10-; empty = all |
| Include per-page texts | In document mode, adds a pages array |
| Max pages per PDF | Default 500 |
| Max file size | Default 100 MB |
Your own files: upload them to an Apify key-value store (or any file host) and paste the links.
Output
One row per PDF:
{"url": "https://example.com/annual-report-2025.pdf","fileName": "annual-report-2025.pdf","fileSizeBytes": 1834221,"pageCount": 48,"pagesExtracted": 48,"title": "Annual Report 2025","subject": null,"keywords": null,"creatorApp": "Microsoft® Word","producer": "Adobe PDF Library","createdAt": "2026-03-02T09:14:00.000Z","modifiedAt": "2026-03-02T09:20:11.000Z","language": "en-US","pdfVersion": "1.7","text": "Annual Report 2025\n\nLetter to shareholders\n…","wordCount": 18234,"charCount": 121904,"isScanned": false}
In page mode, each row contains page, text, wordCount and charCount. A per-file summary, including errors, is saved in the key-value store record SUMMARY.
Pricing
You pay per page extracted: $0.001 per page ($1 per 1,000 pages). Files that fail (broken link, password-protected, not a PDF) are free. Set a maximum cost per run and the Actor stops cleanly when it is reached.
Limitations
- No OCR: scanned PDFs (images of text) are detected and flagged, but not converted to text.
- Password-protected PDFs cannot be read.
- Tables are returned as text lines, not as structured tables.
- Complex multi-column layouts are read in the order stored in the PDF, which is usually, but not always, the reading order.
FAQ
Can I process PDFs from my computer? Upload them to an Apify key-value store or any file host (Google Drive public links that point directly to the file, Dropbox ?dl=1 links …) and paste the links.
Is my data stored? Only in your own run's dataset, under your control. The Actor does not keep copies.
Something doesn't work? Please open an issue with an example link and we will look into it.