OCR: Extract Text from Images & Scanned PDFs (100+ Languages) avatar

OCR: Extract Text from Images & Scanned PDFs (100+ Languages)

Pricing

Pay per event

Go to Apify Store
OCR: Extract Text from Images & Scanned PDFs (100+ Languages)

OCR: Extract Text from Images & Scanned PDFs (100+ Languages)

Extract text from images (JPG, PNG, WebP, TIFF, HEIC) and scanned PDFs with Tesseract OCR in 100+ languages. Digital PDF pages are read from their text layer at a lower price. Per-page text and confidence.

Pricing

Pay per event

Rating

0.0

(0)

Developer

John Joseph Wheatley

John Joseph Wheatley

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

At a glance: extract text from images and scanned PDFs in 100+ languages. You get the text and a confidence score per page. Cost: 1,000 scanned pages are $2.

Turn images and scanned PDFs into text. Paste links to photos, screenshots, receipts, invoices, forms or scanned documents, and get the extracted text with a confidence score per page.

  • Images: JPG, PNG, WebP, TIFF, GIF, HEIC and AVIF. EXIF orientation is corrected automatically.
  • PDFs: in Auto mode, pages that already contain digital text are read directly from the PDF's text layer, which is fast, exact and cheaper. Only scanned pages are OCR'd, so mixed documents are handled correctly.
  • 100+ languages, including several at once (e.g. eng + deu), powered by the open-source Tesseract engine.
  • Per-page results: each page's text, the method used (OCR or text layer) and confidence. You can also save .txt files.
  • Private by design: no third-party AI or OCR service sees your documents. Everything runs inside the Actor.

Use cases

  • Receipts and invoices: pull totals and line items into a spreadsheet or accounting workflow.
  • Scanned archives: make old scanned PDFs searchable, or feed them into an LLM or RAG pipeline.
  • Screenshots: extract text from UI screenshots, slides or social media images.
  • Forms and IDs: read printed text from forms you're authorised to process.
  • Pair with other tools: combine with our Document to Markdown Actor for digital PDFs, Word and PowerPoint files, and use this one for scans.

Input

{
"sources": [
{ "url": "https://example.com/scans/contract.pdf" },
{ "url": "https://example.com/receipt.jpg" }
],
"languages": ["eng", "deu"],
"pdfMode": "auto",
"includePages": true
}

Output

One row per document:

{
"url": "https://example.com/receipt.jpg",
"type": "image",
"pagesProcessed": 1,
"ocrPages": 1,
"textLayerPages": 0,
"averageConfidence": 89,
"words": 14,
"text": "RECEIPT No. 00431\nCoffee beans 1kg ........ 24.90\nDelivery ................ 4.50\nTOTAL EUR 29.40",
"pages": [{ "page": 1, "method": "ocr", "confidence": 89, "text": "RECEIPT No. 00431 …" }]
}

Pricing

  • $0.002 per OCR page. Each image counts as one page.
  • $0.0005 per PDF page read from its text layer, when no OCR is needed.

1,000 scanned pages cost $2. Failed downloads, unsupported files and pages beyond your limit are free.

Tips for best results

  • Image quality: for scans, 200–300 DPI works best. Very small or blurry text lowers confidence.
  • Languages: choose the document's language for best accuracy. Each extra language slows OCR a little.
  • Handwriting: Tesseract is designed for printed text, so handwriting is recognised poorly.
  • Layout: columns and tables come out as text lines in reading order, not as a structured table.

Use with AI agents (MCP)

This Actor works as a tool for AI assistants such as Claude, ChatGPT and Cursor, through Apify's MCP server.

  1. Add the server to your MCP client, with this Actor selected:
{
"mcpServers": {
"apify": { "url": "https://mcp.apify.com?tools=squarish_altruism/ocr" }
}
}

In Claude Code: claude mcp add apify "https://mcp.apify.com?tools=squarish_altruism/ocr" -t http

  1. Sign in with your Apify account when your client asks. If it can't use OAuth, send your Apify API token in an Authorization: Bearer header.
  2. Ask in plain language, for example: "Extract the text from this scanned PDF: https://example.com/scan.pdf"

Runs started by an agent are billed to your Apify account at the same prices as above.