Image and Scanned PDF OCR (Arabic, Cyrillic, Hindi, Latin) avatar

Image and Scanned PDF OCR (Arabic, Cyrillic, Hindi, Latin)

Pricing

from $3.00 / 1,000 ocr page (ai mode)s

Go to Apify Store
Image and Scanned PDF OCR (Arabic, Cyrillic, Hindi, Latin)

Image and Scanned PDF OCR (Arabic, Cyrillic, Hindi, Latin)

Give it image or scanned PDF links, get the text of each page as JSON with line confidence and boxes. OCR for English, Arabic, Russian, Hindi, French, Spanish, German. AI mode turns receipts and invoices into JSON. From $1.50 per 1,000 pages.

Pricing

from $3.00 / 1,000 ocr page (ai mode)s

Rating

0.0

(0)

Developer

Elio Saliba

Elio Saliba

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Image OCR (Arabic, Cyrillic, Latin, Hindi) and Scanned PDF to Text

Give it links to images or scanned PDFs and get the text back as JSON: one row per image or PDF page, in reading order, with every line's confidence and position. An optional AI mode reads handwriting and returns receipts, invoices and forms as JSON that follows a schema you write.

Built for accountants and bookkeepers with receipt photos, researchers with archive scans, AI teams that need scanned PDFs as text, and n8n or Make flows that post an image link and want text back. English, Arabic, Russian, Hindi, French, Spanish and German work in the free engine.

$1.50 per 1,000 pages with the free engine. $3.00 per 1,000 pages in AI mode, plus the AI model usage Apify bills to your account (about $0.40 per 1,000 pages on a paid plan). Pages with no text, broken links and files that are too big are free.

What you get

One row per image, and one row per page for PDFs and multi-page TIFFs.

ColumnExampleNotes
url, page, pageCount.../scan.pdf, 2, 14Pages are numbered from 1
statusokok, no_text, unreachable, not_image, too_large, invalid_input, skipped_page_limit, skipped_max_cost or error. Only ok is charged
textA TEXT-BOOK OF AGRICULTURAL ENTOMOLOGY...Text in reading order, a blank line between blocks
lines[{"text": "BY", "confidence": 0.93, "box": [520, 1085, 575, 1120]}]Confidence is 0 to 1. Boxes are pixels on the upright page image, left, top, right, bottom
scriptlatinDetected from the text itself: latin, arabic, cyrillic, devanagari and so on
avgConfidence, lowConfidence0.91, falseAverage over the page. lowConfidence is true under 0.6
enginetesseracttesseract, pdf-text (text already inside the PDF) or ai
languages, rotation, width, heighteng+fra+spa+deu, 0, 1685, 2745What the free engine used. Rotation is the turn that was applied
structured{"vendor": "Cafe Roma", "total": 18.5}AI mode with a schema
chargedocr-pageThe event charged for this row, or null
reason, warningsA plain reason for every free row
aiUsage{"inputTokens": 1240, "outputTokens": 310, "openRouterCostUsd": 0.0003}AI mode only
textFileDownload link, when saveTextFiles is on

How to use

  1. Add your files. Paste direct links to PNG, JPEG, WebP, TIFF, GIF, BMP or PDF files, upload files, or give the ID of a dataset and the field that holds the links (for example the output of Bulk Image Downloader).
  2. Pick the engine. Free engine only, AI only, or Auto (free engine first, AI for pages it is unsure about).
  3. Press Start. One page takes a few seconds to about half a minute, depending on how dense it is and how much memory you give the run.

Use it from an AI agent

In Claude, ChatGPT or Cursor, add the Apify MCP server (https://mcp.apify.com) and ask the agent to run this Actor. It needs only a direct file link, and engine, languages and schema are plain fields the agent can set from your sentence.

Example prompt: "Use the Apify Actor opstoolkit/image-pdf-ocr on https://example.com/receipts/2026-11-03.jpg with the AI engine, and return vendor, date and total as JSON."

Input example

{
"urls": [
"https://upload.wikimedia.org/wikipedia/commons/8/8e/A_text-book_of_agricultural_entomology_BHL9798241.jpg"
],
"engine": "fast",
"languages": [],
"outputFormat": "lines",
"pdfMaxPages": 50
}

A receipt to JSON, with the AI model:

{
"urls": ["https://example.com/receipts/2026-11-03.jpg"],
"engine": "ai",
"schema": {
"type": "object",
"properties": {
"vendor": {"type": "string"},
"date": {"type": "string"},
"total": {"type": "number"},
"items": {"type": "array", "items": {"type": "object", "properties": {"name": {"type": "string"}, "price": {"type": "number"}}}}
}
}
}

Output example

{
"url": "https://upload.wikimedia.org/wikipedia/commons/8/8e/A_text-book_of_agricultural_entomology_BHL9798241.jpg",
"fileType": "jpeg",
"page": 1,
"pageCount": 1,
"status": "ok",
"text": "AGRICULTURAL ENTOMOLOGY;\n\nBEING\n...",
"script": "latin",
"engine": "tesseract",
"charged": "ocr-page"
}

Which engine

Free engineAI mode
What reads the pageTesseract 5 (open source), run inside the ActorA Gemini vision model
Good atPrinted text, scans, book pages, forms, 7 languagesHandwriting, photos at an angle, tables, stylised text, any script, JSON from a schema
Gives youText, line confidence, line boxesText, or the JSON you asked for
Price per page$0.0015$0.003 plus about $0.0004 model usage
Where the image goesNowhere, it stays in the ActorTo Google, through Apify's OpenRouter proxy

Auto reads every page with the free engine and sends only the pages under 60% confidence to the AI model. Those pages are charged as AI pages, not twice.

Languages and scripts

The free engine has models for English, Arabic, Russian, Hindi, French, Spanish and German. With no language set, it detects the page's script first (Latin, Arabic, Cyrillic or Devanagari) and picks the matching models. Latin pages are read as English, French, Spanish and German together.

Setting languages yourself is faster and a little more accurate. Pages in other scripts (Chinese, Japanese, Korean, Thai, Greek) are not covered by the free engine. Use AI mode for those.

Scanned PDFs

PDF pages are rendered at 200 dpi and read one by one. If a page already has selectable text inside the PDF, that text is returned as it is (engine: pdf-text) instead of re-reading a picture of it. It is still charged as a page. Turn this off with usePdfTextLayer if you want every page read from its picture.

Up to 50 pages per file by default (pdfMaxPages, up to 500). Pages beyond the limit come back as one free row that says which pages were skipped.

Pricing

Pay per event.

EventPriceWhen
ocr-page$0.0015One image or PDF page with text found, free engine or text already in the PDF
ocr-page-ai$0.003One image or PDF page read by the AI model
PagesFree engineAI mode, this ActorAI mode, model usage (paid plan, approx.)
100$0.15$0.30$0.04
1,000$1.50$3.00$0.40
10,000$15.00$30.00$4.00
  • Pages with no text, links that fail, files over the size limit, pages past pdfMaxPages and pages skipped at your max cost are free rows with a reason.
  • A page is charged only after it has been read. If the AI model fails on a page in Auto mode, the free result is kept and charged as a normal page.
  • The run stops cleanly when your max cost per run is reached. The rest of a PDF comes back as one free row, nothing is read and thrown away.
  • The max cost per run covers this Actor's price. The AI model usage is a separate line on your Apify bill. Free-plan accounts pay 10 times the OpenRouter price for it.

What it will not read

Direct file links only. A link to a web page is refused with a free row, the Actor does not crawl sites. Links to private or internal addresses are refused. Password-protected PDFs are refused. Only OCR documents you have the right to process, and remember that receipts, forms and ID-like documents can hold personal data.

Limits

  • Files up to 25 MB by default (maxFileSizeMb, up to 100). Images up to 100 million pixels.
  • Printed text only for the free engine. Handwriting, very stylised fonts and low-resolution photos give low confidence. Try AI mode on those pages.
  • Tesseract gives line and word positions, not table structure. For tables use AI mode, which writes each row on one line with cells separated by |.
  • The AI model's answer is capped at about 2,000 tokens per page. A very dense page can come back cut off, and the row carries the ai_answer_cut_off warning.
  • In schema mode the AI returns the structured data only, not the page text.
  • The default memory is 1 GB. Very large PDFs or high-resolution scans may need 2 GB.

Privacy

In free mode nothing leaves the Actor. In AI mode the page image goes to Google Gemini through Apify's OpenRouter proxy, which only uses zero-data-retention endpoints. The Actor deletes its temporary files when the run ends. Results stay in your run's storage under your Apify retention settings.

Works well with

  • Bulk Image Downloader: download the images from a page, then pass its dataset ID as datasetId and set urlField to imageUrl to read the text on them.
  • Document to Markdown for AI: PDFs with a text layer go there. Scanned PDFs come here first.
  • AI Structured Extractor: set its datasetId to this run's dataset and field to text to pull named fields (invoice number, date, total) out of the OCR text.
  • Dataset Cleaner: clean the final rows. Turn on "Flatten nested objects" so structured.vendor and structured.total become columns, then fix dates and drop duplicate receipts.

A typical chain: Bulk Image Downloader, then this Actor, then AI Structured Extractor, then Dataset Cleaner. Schedules, webhooks, the REST API, Zapier, Make and n8n all work.

FAQ

Can it read handwriting? Use AI mode. The free engine is built for printed text.

Why did a page come back as no_text? The engine found nothing readable, so it is free. Blank pages, photos without text and very faint scans do this. Try AI mode on a faint scan.

Can it return a receipt as JSON? Yes, in AI mode. Write the fields you want as a JSON schema in schema.

Does it keep my files? No. It deletes them when the run ends.

Something broke. Open an issue on the Issues tab with the run link. I reply within a day.