Go to example tasks

Extract text from scanned PDFs with OCR

Turn scanned PDFs (pages that are only images) into searchable text, page by page. The task detects which pages need OCR, cleans them up, and returns the text with page numbers and character counts. Digital pages are read directly at a lower price. Works with invoices, contracts, letters and archives.

Try for free
PDF & Image to Text - OCR, Scanned PDFs, Bulk Text Extraction
PDF & Image to Text - OCR, Scanned PDFs, Bulk Text Extractioncuestadata/pdf-image-text-extractor
File
Type
Pages
Processed
+6 fields
Text
Number
Boolean
List
Object

Input

File URLs(required):https://raw.githubusercontent.com/ocrmypdf/OCRmyPDF/main/tests/resources/skew.pdf+1
OCR mode:auto
Output:page

Output fields

File
Type
Pages
Processed
OCR pages
Text-layer pages
OCR confidence
Words
Text
Error

How it works

Sign up on Apify or log in

The PDF & Image to Text - OCR, Scanned PDFs, Bulk Text Extraction Actor is ready to run with the inputs already set for "Extract text from scanned PDFs with OCR". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Extract text from scanned PDFs with OCR" task

The PDF & Image to Text - OCR, Scanned PDFs, Bulk Text Extraction Actor will start running based on the input automatically. You can also change all the input fields, like file urls, OCR mode, and more, to match your specific use case.

Receive the "Extract text from scanned PDFs with OCR" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as file, type, pages, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Extract text from scanned PDFs with OCR" task via API.

Image

Integrate "Extract text from scanned PDFs with OCR" into your workflow

Connect "Extract text from scanned PDFs with OCR" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

The scanned PDF to text task returns the text of each page with its page number, whether OCR was used, and character counts, ready to export as JSON, CSV or Excel.

OCR on scanned PDF pages costs about $3 per 1,000 pages. Pages that already have a text layer cost about $0.20 per 1,000 pages.

The scanned PDF OCR task reads English, Spanish, French, German, Portuguese, Italian and Dutch, alone or combined.