Go to example tasks

Extract text from scanned images with OCR

Reads text from scanned images (PNG, JPEG, TIFF, WEBP) with Tesseract OCR and returns plain text and Markdown per file, with the OCR confidence. Rotated scans are turned upright automatically. 19 languages, up to 5 per run. This example reads a Tesseract test scan.

Try for free
PDF & Image OCR to Text and Markdown
PDF & Image OCR to Text and Markdownklarto/pdf-ocr-markdown
File
Status
Pages
Text pages
+6 fields
Text
Number
Boolean
List
Object

Input

File URLs(required):https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif
OCR languages:eng

Output fields

File
Status
Pages
Text pages
OCR pages
Blank pages
OCR confidence
Words
Markdown
Error

How it works

Sign up on Apify or log in

The PDF & Image OCR to Text and Markdown Actor is ready to run with the inputs already set for "Extract text from scanned images 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 images with OCR" task

The PDF & Image OCR to Text and Markdown Actor will start running based on the input automatically. You can also change all the input fields, like file urls and OCR languages, to match your specific use case.

Receive the "Extract text from scanned images 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, status, 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 images with OCR" task via API.

Image

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

Connect "Extract text from scanned images 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 image OCR task reads PNG, JPEG, TIFF (including multi-page TIFF), WEBP, BMP and the first frame of GIF files from direct links.

The image OCR task supports 19 Tesseract languages, up to 5 per run: English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Czech, Ukrainian, Russian, Bulgarian and more.

OCR of one image costs $0.005, because each image counts as one OCR page. Failed files are free. Apify adds a start event of $0.0001 per run at 2 GB.

No. The image OCR task runs Tesseract inside the Apify run, so the images are not sent to an outside AI service.