Go to example tasks

Extract text from a scanned PDF

Turn a scanned PDF into plain English text with Tesseract OCR that runs inside the Actor. Upload your PDF to the run's key-value store and list its key; you get the full text as a .txt file plus a record with page count and per-page confidence. With no file, the task reads a built-in sample page.

Try for free
OCR Text Extractor - Image & Scanned PDF to Text
OCR Text Extractor - Image & Scanned PDF to Textluxe_tasks/ocr-text-extractor
Index
Input key
Url
Status
+2 fields
Text
Number
Boolean
List
Object

Input

Page layout:auto
PDF render resolution (dpi):200

Output fields

Index
Input key
Url
Status
Text
Text truncated

How it works

Sign up on Apify or log in

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

Start the "Extract text from a scanned PDF" task

The OCR Text Extractor - Image & Scanned PDF to Text Actor will start running based on the input automatically. You can also change all the input fields, like page layout and PDF render resolution (dpi), to match your specific use case.

Receive the "Extract text from a scanned PDF" 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 index, input key, url, 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 a scanned PDF" task via API.

Image

Integrate "Extract text from a scanned PDF" into your workflow

Connect "Extract text from a scanned PDF" 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

For the Extract text from a scanned PDF task, upload the PDF to the run's default key-value store and list it in the Files field as {"key": "your-key"}.

The Extract text from a scanned PDF task costs $4 per 1,000 pages with readable text plus a start fee of $0.005 per run at the default 1 GB of memory; blank or failed pages have no per-page charge.

No. The Extract text from a scanned PDF task runs Tesseract inside the Actor; results go only to your run's default Apify storage.