PDF & Image OCR Text Extractor: Scanned PDFs, JPG, PNG to Text
Pricing
from $1.60 / 1,000 pages
PDF & Image OCR Text Extractor: Scanned PDFs, JPG, PNG to Text
Extract text from PDFs and images in bulk. Digital PDFs are read from the text layer (exact and fast); scanned PDFs and images (JPG, PNG, TIFF, WebP) use Tesseract OCR in English, Spanish, Portuguese, French, German, Italian or Dutch. One row per page with confidence. $2 per 1,000 pages.
Pricing
from $1.60 / 1,000 pages
Rating
0.0
(0)
Developer
DataDesk
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
PDF & Image OCR Text Extractor: Scanned PDFs, JPG, PNG, TIFF to Text
Extract text from PDFs and images in bulk. Digital PDFs are read straight from the text layer (exact, fast); scanned PDFs and images (JPG, PNG, TIFF, WebP, BMP, GIF) go through Tesseract OCR in English, Spanish, Portuguese, French, German, Italian or Dutch. You get one row per page with the text, method used, OCR confidence, word and line counts. No external OCR API, no API key. $2 per 1,000 pages.
Try it now (one click)
- Click Start. The prefilled input reads a scanned test image (OCR) and the 6-page IRS W-9 PDF (text layer). In our latest check (Nov 18, 2026) it returned 7 pages in about 5 seconds. An empty input runs a small demo too.
- Paste direct links to your PDFs or images, choose OCR mode and languages.
- Download the results as CSV, Excel or JSON, or get them via API, webhooks, Make or Zapier.
Price example: 100 pages = $0.205, 1,000 pages = $2.005 ($2.00 per 1,000 pages + $0.005 per run). Silver and Gold plan users pay 10% and 20% less per page. Apify's free plan includes $5 of usage every month, enough for about 2,497 pages. Runs that find nothing are not charged.
Sample of real results
Real rows from a local test run on Nov 18, 2026 (some columns). Each page also includes the other fields listed below.
| File | Page | Method | OCR confidence | Words | Text |
|---|---|---|---|---|---|
| phototest.tif | 1 | ocr | 95.8 | 60 | This is a lot of 12 point text to test the ocr… |
| fw9.pdf | 1 | text-layer | — | 950 | Form W-9 (Rev. March 2024) Request for Taxpay… |
| fw9.pdf | 1 | ocr | 94 | 943 | Form W-9 Request for Taxpayer Give form to the… |
| eurotext.tif | 1 | ocr | 91.3 | 73 | The (quick) [brown] {fox} jumps! Over the $43,… |
What you get
| Field group | Fields |
|---|---|
| Text | page text with line breaks, characters, words, lines |
| Method | text-layer or ocr, OCR confidence 0-100, OCR language |
| File | URL, file name, type, size, page number, total pages, page size |
| PDF metadata | title, author |
Why this Actor
- Smart auto mode: exact text layer for digital PDFs and OCR only where a page is scanned, so most PDFs cost almost nothing to process.
- 7 OCR languages, combinable (e.g. English + Spanish).
- Confidence score per page to flag bad scans.
- Cheaper than per-image OCR APIs: $2 per 1,000 pages, no OCR subscription.
- Works with multi-page TIFFs and scanned PDFs up to 60 MB.
How to use it
- Click Try for free (or Start): the prefilled input runs a quick test.
- Paste direct links to your PDFs or images, choose OCR mode and languages.
- Click Start and wait a few seconds.
- Open the Output tab and export as JSON, CSV, Excel, XML or HTML, or read the dataset via API.
Input examples
Scanned image + digital PDF (prefill):
{"urls": ["https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif", "https://www.irs.gov/pub/irs-pdf/fw9.pdf"]}
Spanish and English scans, always OCR, 300 DPI:
{"urls": ["https://example.com/factura-escaneada.pdf"], "ocrMode": "ocr", "ocrLanguages": ["spa", "eng"], "ocrDpi": 300}
Receipts (single text block):
{"urls": ["https://example.com/receipt1.jpg", "https://example.com/receipt2.png"], "layout": "block"}
Input fields
| Field | Type | Description |
|---|---|---|
urls | array | Direct links to PDF files or images (PNG, JPG, TIFF, WebP, BMP, GIF), one per line. Files must be publicly downloadable (max 60 MB each). Leave empty for a demo (1 scanned image + 1 PDF). |
ocrMode | string | Auto is fastest and exact for digital PDFs and runs OCR only on pages without text (scans). Images always use OCR. |
ocrLanguages | array | Languages in the documents (pick one or more). Choosing the right language keeps accents and special letters. |
maxPagesPerFile | integer | Only the first N pages of each PDF/TIFF are read (cost control). |
maxPages | integer | Hard cap for the whole run. |
skipEmptyPages | boolean | Do not save (or charge) pages where no text was found. |
ocrDpi | integer | Rendering resolution for scanned PDF pages. 200 is a good balance; use 300 for small print. |
layout | string | How OCR segments the page. Use "Single text block" for receipts or simple labels. |
Output example
Example record from a local test run (long lists shortened).
{"url": "https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif","fileName": "phototest.tif","fileType": "tiff","fileSizeBytes": 38668,"language": "eng","page": 1,"pageCount": 1,"text": "This is a lot of 12 point text to test the\nocr code and see if it works on all types\nof file format.\n\nThe quick brown dog jumped over the\nlazy fox. The quick brown dog jumped\nover the lazy fox. The qu…","method": "ocr","ocrConfidence": 95.8,"width": 640,"height": 480,"documentTitle": null,"documentAuthor": null,"charCount": 285,"wordCount": 60,"lineCount": 8,"scrapedAt": "2026-11-18T23:28:26.229388+00:00","isNew": false}
Output fields
| Field | Description |
|---|---|
url | Source file link |
fileName | File name from the URL |
fileType | pdf, png, jpg, tiff, webp, bmp or gif |
page | Page number (1-based) |
pageCount | Total pages in the file |
text | Extracted text of the page (line breaks kept) |
method | text-layer (exact, from the PDF) or ocr (Tesseract) |
ocrConfidence | Average word confidence 0-100 (OCR pages only) |
charCount | Characters of text on the page |
wordCount | Words on the page |
lineCount | Non-empty lines on the page |
width | Page width (PDF points) or image width (px) |
height | Page height (PDF points) or image height (px) |
documentTitle | PDF title metadata |
documentAuthor | PDF author metadata |
fileSizeBytes | File size in bytes |
language | Tesseract language(s) used |
scrapedAt | When the row was saved (UTC) |
isNew | Always false (no alerts mode) |
Pricing
Pay-per-event: $0.005 once per run that saves results + $0.002 per page ($2.00 / 1,000). Runs that save nothing are not charged.
| Pages saved | Approx. cost |
|---|---|
| 20 | $0.045 |
| 100 | $0.205 |
| 1,000 | $2.005 |
| 10,000 | $20.005 |
Use cases
- Turn scanned invoices, contracts and forms into searchable text
- Feed PDFs to LLMs / RAG pipelines (one chunk per page)
- Bulk OCR for archives and document management
- Extract text from screenshots, receipts and labels
- Check which PDFs are scanned (method = ocr) vs digital
Integrations / API
Works with the Apify API, Schedules, webhooks, Make, Zapier, n8n and MCP. Example:
curl "https://api.apify.com/v2/acts/datadesk-io~pdf-image-ocr-text-extractor/run-sync-get-dataset-items" \-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \-d '{"urls": ["https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif", "https://www.irs.gov/pub/irs-pdf/fw9.pdf"]}'
Python:
from apify_client import ApifyClientclient = ApifyClient("<APIFY_TOKEN>")run = client.actor("datadesk-io/pdf-image-ocr-text-extractor").call(run_input={"urls": ["https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif", "https://www.irs.gov/pub/irs-pdf/fw9.pdf"]})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
MCP
Use this Actor from an MCP client (Cursor, Claude Desktop, etc.) through the Apify MCP server (datadesk-io/pdf-image-ocr-text-extractor).
FAQ
Which files work? Public direct links to PDF, PNG, JPG, TIFF (multi-page), WebP, BMP and GIF, up to 60 MB each. For private files, upload them to an Apify key-value store or any storage with a direct link.
How accurate is OCR? Clean scans usually get 90-96 confidence. Low-resolution photos and handwriting read worse; try 300 DPI and the right language.
Do you send my files to a third-party API? No. OCR runs inside the Actor with open-source Tesseract.
Are empty pages charged? No (with "Skip empty pages", the default).
What does an empty input do? It reads a demo scanned image and a demo PDF.
Limitations
- No handwriting recognition.
- Tables are returned as text lines, not as cells.
- Password-protected PDFs cannot be read.
- OCR languages: English, Spanish, Portuguese, French, German, Italian, Dutch.
Start now
Click Start to run the prefilled example, then adjust the input. Missing a field or filter? Open an issue on the Issues tab and tell us what you need.
Support
Questions, bugs or a missing field? Email datadesk.io@proton.me or open an issue on the Actor page.
ES: Extrae texto de PDFs e imágenes en lote: capa de texto para PDFs digitales y OCR (Tesseract) para escaneos en 7 idiomas, una fila por página. $2 por 1.000 páginas. PT: Extraia texto de PDFs e imagens em lote: camada de texto para PDFs digitais e OCR (Tesseract) para digitalizações em 7 idiomas, uma linha por página. US$2 por 1.000 páginas.