# Image to Text OCR (100+ languages) (`tenderwire/image-ocr`) Actor

Extract text from images with OCR: screenshots, scanned pages, receipts, signs, slides. Paste image links, choose languages, get the text, a confidence score and optional line positions. $3 per 1,000 images.

- **URL**: https://apify.com/tenderwire/image-ocr.md
- **Developed by:** [TenderWire Data](https://apify.com/tenderwire) (community)
- **Categories:** AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 images

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Image to Text OCR (100+ languages)

Extract text from images with OCR: screenshots, scanned documents, receipts, invoices, slides, signs, product labels and memes. Paste image links, pick the languages, and get the recognised text with a confidence score, plus optional line-by-line positions.

Powered by Tesseract, the open-source OCR engine, running entirely inside the Actor: your images are not sent to any third-party AI service.

### What does Image to Text OCR do?

- Downloads each image from its link (PNG, JPG, WebP, BMP, GIF, TIFF).
- Recognises the text in one or several languages (English by default; more than 100 languages available, including German, French, Spanish, Hindi, Arabic, Chinese, Japanese and Korean).
- Returns the full text, an overall confidence score, and optionally each line with its own confidence and position.
- Reports problems per image (not an image, download failed, no text found) without failing the run.

### Who uses it?

- **Automations** that read receipts, invoices, IDs of products or screenshots in Make, Zapier or n8n.
- **AI and RAG pipelines** that need text from scanned pages or slides.
- **Marketers and researchers** extracting text from ads, social media images and memes.
- **Developers** who want a hosted OCR API without running Tesseract themselves.

### What data do you get?

| Field | Example |
|---|---|
| url | the image link |
| text | the recognised text |
| confidence | 92 (0 to 100) |
| languages | eng, or several like eng+deu |
| lines | each line with text, confidence and position (when turned on) |
| charCount | number of characters recognised |
| error | what went wrong for this image, if anything |

### How to use it

1. Click **Try for free**.
2. Paste image links into **Image URLs**, one per line.
3. Add **Languages** if the text is not English (for example deu, or eng and hin together).
4. Click **Start**. Most images take about one second.
5. Get the results as JSON, CSV or Excel, or through the Apify API.

### Input example

```json
{
    "imageUrls": [
        "https://tesseract.projectnaptha.com/img/eng_bw.png",
        "https://example.org/receipt.jpg"
    ],
    "languages": ["eng", "deu"],
    "includeLines": true
}
```

### Output example

```json
{
    "url": "https://tesseract.projectnaptha.com/img/eng_bw.png",
    "text": "Mild Splendour of the various-vested Night!\nMother of wildly-working visions! hail\nI watch thy gliding, while with watery light\nThy weak eye glimmers through a fleecy veil;\n...",
    "confidence": 92,
    "languages": "eng",
    "lines": [
        {
            "text": "Mild Splendour of the various-vested Night!",
            "confidence": 95,
            "bbox": {
                "x0": 38,
                "y0": 34,
                "x1": 1294,
                "y1": 111
            }
        },
        {
            "text": "Mother of wildly-working visions! hail",
            "confidence": 82,
            "bbox": {
                "x0": 105,
                "y0": 111,
                "x1": 1195,
                "y1": 184
            }
        }
    ],
    "charCount": 351,
    "error": null,
    "scrapedAt": "2026-11-05T16:00:00.000Z"
}
```

### How much does it cost?

**Pay per result: $3 per 1,000 images** read, plus a tiny Apify start fee per run. Images that fail to download or are not images are not charged.

Apify's free plan includes monthly credit, enough to read over a thousand images.

### Tips for best results

- Higher resolution works better: text should be at least 20 pixels tall.
- Straight, well-lit photos and screenshots give the best confidence scores.
- Only list the languages that actually appear: each extra language makes recognition slower.

### FAQ

**Does it read handwriting?**
Only very neat handwriting. Tesseract is built for printed text.

**Can it read PDFs?**
Use our PDF to Markdown Converter for digital PDFs. For scanned PDFs, export the pages as images first.

**Are my images stored or shared?**
Images are processed inside your run only and are not sent to any external OCR or AI service. Results are stored in your own Apify account.

**Something looks wrong?**
Open an issue on the Issues tab with the image link. An automatic self-check runs every day.

# Actor input Schema

## `imageUrls` (type: `array`):

Links to images (PNG, JPG, WebP, BMP, GIF, TIFF), one per line.

## `languages` (type: `array`):

Tesseract language codes of the text, e.g. eng, deu, fra, spa, ita, por, nld, pol, rus, ara, hin, ben, chi_sim, chi_tra, jpn, kor. Several languages work together but are slower. Default: eng.

## `includeLines` (type: `boolean`):

Also return each text line with its confidence and position in the image (x0, y0, x1, y1).

## `maxImages` (type: `integer`):

Stop after this many images.

## `proxyConfiguration` (type: `object`):

Only needed if a website blocks image downloads.

## `selfCheck` (type: `boolean`):

For the maintainer. Reads a known image and checks the result. Charges nothing.

## Actor input object example

```json
{
  "imageUrls": [
    "https://tesseract.projectnaptha.com/img/eng_bw.png"
  ],
  "includeLines": false,
  "maxImages": 1000,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "selfCheck": false
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `allFields` (type: `string`):

No description

## `selfCheck` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "imageUrls": [
        "https://tesseract.projectnaptha.com/img/eng_bw.png"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tenderwire/image-ocr").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "imageUrls": ["https://tesseract.projectnaptha.com/img/eng_bw.png"] }

# Run the Actor and wait for it to finish
run = client.actor("tenderwire/image-ocr").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "imageUrls": [
    "https://tesseract.projectnaptha.com/img/eng_bw.png"
  ]
}' |
apify call tenderwire/image-ocr --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tenderwire/image-ocr"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Ja9HuyPLVY4Aa5Ylx/builds/he1e81Zff2ZQAQGAP/openapi.json
