Go to example tasks

Extract text from PDFs, OCR only the pages that need it

Feed any PDF: pages that already have a text layer are read directly at the lower text-page price, and only image pages go through OCR. The example uses a public four-page PDF with text. Replace it with your own mixed or scanned PDFs.

Try for free
PDF OCR: Scanned PDF & Image to Text, Searchable PDF
PDF OCR: Scanned PDF & Image to Text, Searchable PDFtamatama/image-pdf-ocr
File
Type
Pages
OCR pages
+9 fields
Text
Number
Boolean
List
Object

Input

Image or PDF URLs
url:https://raw.githubusercontent.com/py-pdf/sample-files/main/004-pdflatex-4-pages/pdflatex-4-pages.pdf
Languages:eng
Output format:text
OCR pages that already have text:false

Output fields

File
Type
Pages
OCR pages
Text-layer pages
Confidence
Characters
Chunk
From page
To page
Searchable PDF
Error
URL

How it works

Sign up on Apify or log in

The PDF OCR: Scanned PDF & Image to Text, Searchable PDF Actor is ready to run with the inputs already set for "Extract text from PDFs, OCR only the pages that need it". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Extract text from PDFs, OCR only the pages that need it" task

The PDF OCR: Scanned PDF & Image to Text, Searchable PDF Actor will start running based on the input automatically. You can also change all the input fields, like image or pdf urls, languages, and more, to match your specific use case.

Receive the "Extract text from PDFs, OCR only the pages that need it" 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 PDFs, OCR only the pages that need it" task via API.

Image

Integrate "Extract text from PDFs, OCR only the pages that need it" into your workflow

Connect "Extract text from PDFs, OCR only the pages that need it" 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