Go to example tasks

OCR scanned PDFs to text with AI

Reads scanned PDFs (pages that are pictures with no text layer) with AI OCR and returns clean text, one row per document or page, with wrapped lines joined. Pages that already have text are read directly and cost less; blank pages are skipped and not charged. Run it as it is on the built-in samples: the scanned sample comes back with a prepared OCR result (no AI call, no charge).

Try for free
PDF to Text & OCR - Scanned PDFs, Images, Word, Japanese
PDF to Text & OCR - Scanned PDFs, Images, Word, Japanesequietworkslab/pdf-text-extractor
Status
File name
Link number
Format
+19 fields
Text
Number
Boolean
List
Object

Input

File links
OCR (scanned pages and images):auto
Line breaks:smart

Output fields

Status
File name
Link number
Format
Part
From page
To page
Pages in file
Characters
Needs OCR
Garbled text suspected
Pages without text
Vertical text pages
Removed lines
Text source
OCR pages
Pages not OCR'd
Charged events
Charged OCR pages
Error code
Error message
OCR note
Text

How it works

Sign up on Apify or log in

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

Start the "OCR scanned PDFs to text with AI" task

The PDF to Text & OCR - Scanned PDFs, Images, Word, Japanese Actor will start running based on the input automatically. You can also change all the input fields, like file links, OCR (scanned pages and images), and more, to match your specific use case.

Receive the "OCR scanned PDFs to text with AI" 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 status, file name, link number, 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 "OCR scanned PDFs to text with AI" task via API.

Image

Integrate "OCR scanned PDFs to text with AI" into your workflow

Connect "OCR scanned PDFs to text with AI" 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

PDFs made by scanning paper or photographing pages hold pictures, not text. In the default mode (ocr: auto) the OCR scanned PDFs task reads only the pages without a usable text layer with AI OCR and keeps the text layer of the others, in page order.

$0.004 per page or image section read by AI OCR, plus Gemini 2.5 Flash-Lite billed to your Apify account by apify/openrouter, no markup (about $0.0004-0.001 a page on paid plans, 10x on Free). Blank and failed pages are free.

For OCR, each page image goes to an AI model (Google Gemini via OpenRouter, through Apify's apify/openrouter Actor). Set ocr to off to send nothing to any AI; scanned pages are then reported and not charged.