PDF & Image OCR Text Extractor: Scanned PDFs, JPG, PNG to Text avatar

PDF & Image OCR Text Extractor: Scanned PDFs, JPG, PNG to Text

Pricing

from $1.60 / 1,000 pages

Go to Apify Store
PDF & Image OCR Text Extractor: Scanned PDFs, JPG, PNG to Text

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

DataDesk

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

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)

  1. 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.
  2. Paste direct links to your PDFs or images, choose OCR mode and languages.
  3. 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.

FilePageMethodOCR confidenceWordsText
phototest.tif1ocr95.860This is a lot of 12 point text to test the ocr…
fw9.pdf1text-layer—950Form W-9 (Rev. March 2024) Request for Taxpay…
fw9.pdf1ocr94943Form W-9 Request for Taxpayer Give form to the…
eurotext.tif1ocr91.373The (quick) [brown] {fox} jumps! Over the $43,…

What you get

Field groupFields
Textpage text with line breaks, characters, words, lines
Methodtext-layer or ocr, OCR confidence 0-100, OCR language
FileURL, file name, type, size, page number, total pages, page size
PDF metadatatitle, 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

  1. Click Try for free (or Start): the prefilled input runs a quick test.
  2. Paste direct links to your PDFs or images, choose OCR mode and languages.
  3. Click Start and wait a few seconds.
  4. 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

FieldTypeDescription
urlsarrayDirect 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).
ocrModestringAuto is fastest and exact for digital PDFs and runs OCR only on pages without text (scans). Images always use OCR.
ocrLanguagesarrayLanguages in the documents (pick one or more). Choosing the right language keeps accents and special letters.
maxPagesPerFileintegerOnly the first N pages of each PDF/TIFF are read (cost control).
maxPagesintegerHard cap for the whole run.
skipEmptyPagesbooleanDo not save (or charge) pages where no text was found.
ocrDpiintegerRendering resolution for scanned PDF pages. 200 is a good balance; use 300 for small print.
layoutstringHow 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

FieldDescription
urlSource file link
fileNameFile name from the URL
fileTypepdf, png, jpg, tiff, webp, bmp or gif
pagePage number (1-based)
pageCountTotal pages in the file
textExtracted text of the page (line breaks kept)
methodtext-layer (exact, from the PDF) or ocr (Tesseract)
ocrConfidenceAverage word confidence 0-100 (OCR pages only)
charCountCharacters of text on the page
wordCountWords on the page
lineCountNon-empty lines on the page
widthPage width (PDF points) or image width (px)
heightPage height (PDF points) or image height (px)
documentTitlePDF title metadata
documentAuthorPDF author metadata
fileSizeBytesFile size in bytes
languageTesseract language(s) used
scrapedAtWhen the row was saved (UTC)
isNewAlways 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 savedApprox. 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 ApifyClient
client = 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.