Image to Text OCR: Extract Text from Images in Bulk avatar

Image to Text OCR: Extract Text from Images in Bulk

Pricing

from $1.50 / 1,000 image with texts

Go to Apify Store
Image to Text OCR: Extract Text from Images in Bulk

Image to Text OCR: Extract Text from Images in Bulk

Extract text from images by URL, upload or key-value store: JPG, PNG, WEBP, TIFF, BMP, GIF. OCR in 30 languages with confidence scores and optional line and word bounding boxes. Runs Tesseract locally, no external OCR API. $1.50 per 1,000 images with text; blank images and failed URLs are free.

Pricing

from $1.50 / 1,000 image with texts

Rating

0.0

(0)

Developer

Catalin Friptu

Catalin Friptu

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 days ago

Last modified

Categories

Features

Limited permissions

Share

Image to Text OCR extracts text from images in bulk. Paste image URLs, upload files or point it at a key-value store, and get one row per image with the recognised text, a confidence score, the detected language and, if you want them, every line and word with its bounding box. It works as an OCR API for screenshots, scanned documents, receipts, letters, labels, signs and logos.

$1.50 per 1,000 images with text. Images where no text is found, broken links and non-image files are free.

  • Bulk image OCR. Hundreds of image URLs in one run, several read in parallel. A bad link doesn't stop the run: it gets its own row with the reason.
  • JPG, PNG, WEBP, TIFF, BMP, GIF (and AVIF). For animated GIFs and multi-page TIFFs, only the first frame is read.
  • 30 OCR languages: English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Czech, Romanian, Russian, Ukrainian, Turkish, Swedish, Danish, Norwegian, Finnish, Hungarian, Bulgarian, Greek, Vietnamese, Indonesian, Arabic, Hebrew, Hindi, Chinese (Simplified and Traditional), Japanese, Korean and Thai.
  • Confidence scores and word boxes. Every line and word comes with its pixel position and a 0–100 confidence, at the same price as plain text.
  • Private by design. OCR runs inside your Apify run with the open-source Tesseract engine. Your images are not sent to Google, OpenAI or any other OCR service.
  • Handles awkward images. Phone photos are turned upright using their EXIF orientation. White text on a transparent background (a typical logo) is still read. 16-bit scans are handled.

What does Image to Text OCR do?

You give it images and it returns one dataset row per image:

FieldWhat you get
textThe recognised text in reading order. Lines are separated by a newline, paragraphs by a blank line.
confidenceAverage word confidence, 0–100. Low values flag blurry or hard-to-read images.
languageDetected language of the text (en, de, ru...), when there are about 40 letters or more.
char_count, word_count, line_countSize of the result.
linesWith Output: lines or words: each line's text, confidence and box (left, top, width, height).
wordsWith Output: words: each word's text, confidence and box.
image_format, width, height, framesWhat the file was.
url, file_name, indexWhere the image came from and its position in your input.
errorWhy an image failed. Failed images are never charged.

Example output

A real run on 7 URLs (languages English + German + French, 4 in parallel):

ImageFormatCharactersConfidenceLanguageCharged
phototest.tif (typed page)TIFF28596.2en$0.0015
eurotext.png (mixed-language sample)PNG41293.5$0.0015
1965 typewritten letter (Wikimedia Commons)JPEG48582.0en$0.0015
Kansas Commerce logo (white on transparent)WEBP1696.1$0.0015
Wildey logoGIF692.1$0.0015
no-such-image.pngfree: download failed: HTTP 404
example.com (a web page)free: the URL returned an HTML web page, not an image

One row, shortened:

{
"index": 1,
"url": "https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif",
"file_name": "phototest.tif",
"text": "This is a lot of 12 point text to test the\nocr code and see if it works on all types\nof file format.\n\nThe quick brown dog jumped over the\nlazy fox. ...",
"char_count": 285, "word_count": 60, "line_count": 8,
"confidence": 96.2, "language": "en", "ocr_languages": "eng+deu+fra",
"image_format": "TIFF", "width": 640, "height": 480, "frames": 1,
"lines": [{"text": "This is a lot of 12 point text to test the", "confidence": 96.5,
"left": 36, "top": 92, "width": 544, "height": 30, "block": 1, "paragraph": 1, "line": 1}],
"words": null,
"error": null
}

Who it's for

  • Developers and AI agents that need an image-to-text step in a pipeline: screenshots to text, scanned forms to text, product photos to searchable labels.
  • Data teams turning folders of scanned letters, receipts, invoices or archive images into searchable text.
  • E-commerce and marketing teams reading the text in product images, banners and social media graphics.
  • Anyone who wants OCR without sending images to a third-party AI or Google service.

How to extract text from images

  1. Click Try for free and create a free Apify account.
  2. Paste image links into Image URLs, or upload images.
  3. Pick the Text languages printed in your images. Leave English if unsure.
  4. Optional: set Output to lines or words if you need positions, and Layout to Sparse text for photos of signs or labels.
  5. Click Start. Download the results as JSON, CSV or Excel, or read them through the API.

Input

FieldDefaultDescription
startUrls3 sample imagesDirect links to image files.
filesImages you upload in the input form.
keyValueStoreIdOne of your key-value stores. Every binary record is OCR'd; JSON and text records are skipped.
keyValueStoreKeysallOnly these keys from that store.
languages["eng"]Tesseract language codes. Each extra language makes OCR slower.
outputFormattexttext, lines (adds line boxes) or words (adds line and word boxes).
pageSegmentationModeautoauto, single_column, single_block, sparse (scattered text in photos) or single_line.
detectLanguagetrueAdd the detected language to each row.
maxConcurrency4Images processed at the same time (1–32).

API example:

{
"startUrls": [{"url": "https://example.com/receipt.jpg"}, {"url": "https://example.com/screenshot.png"}],
"languages": ["eng", "deu"],
"outputFormat": "words"
}

Pricing

Pay per event:

EventPrice
Image with text (OCR found at least one word)$0.0015 ($1.50 per 1,000)
Image without text, failed download, not an imagefree

Set Maximum cost per run in the run options: the Actor stops starting new images before it would go over it.

Tips for better OCR results

  • Pick the right language. Tesseract reads only the scripts you select: Cyrillic needs rus/ukr/bul, Chinese needs chi_sim or chi_tra.
  • Resolution matters. Text smaller than about 10 pixels tall reads poorly. Use the original image, not a thumbnail.
  • Photos of scenes (street signs, product shelves) work better with Layout: Sparse text.
  • Use the confidence score to flag rows for review: below about 60 usually means a blurry or stylised image.
  • Handwriting isn't what Tesseract is built for: expect poor results on handwritten notes.

Limits

  • One frame per image: the first frame of animated GIF/WEBP files and multi-page TIFFs.
  • Files up to 50 MB and 150 megapixels; images over 40 megapixels are scaled down before OCR (boxes are still reported in the original image's pixels).
  • Links must point at the image file itself. A web page that shows the image returns an error row. Links to a text file of URLs (requestsFromUrl) are not supported.
  • PDFs are not read here: use PDF Text Extractor, which OCRs scanned pages and reads text layers directly.

FAQ

Is there an OCR API? Yes. Run the Actor through the Apify API or any Apify client and read the dataset. Each run returns one row per image.

Which OCR engine does it use? Tesseract 5 with the fast LSTM models, inside the Actor's own container. No external OCR or AI service is called.

Do I pay for images without text? No. If OCR finds no words, the row is still saved (with empty text) and isn't charged. Failed downloads and non-image files aren't charged either.

Can I OCR images another Actor saved? Yes. Set Key-value store with images to that store's ID.

Is it legal? The Actor only reads images you link to or upload. Make sure you have the right to process them.