Image to Text OCR - JPG, PNG & Scanned PDF to Text avatar

Image to Text OCR - JPG, PNG & Scanned PDF to Text

Pricing

from $1.89 / 1,000 page with text extracteds

Go to Apify Store
Image to Text OCR - JPG, PNG & Scanned PDF to Text

Image to Text OCR - JPG, PNG & Scanned PDF to Text

Extract text from images and scanned PDFs. Paste links to JPG, PNG, TIFF or PDF files (or Google Drive and Dropbox share links) and get clean text for every page, with confidence, word counts and optional word positions. Reads English, Japanese, Chinese, Arabic and many more.

Pricing

from $1.89 / 1,000 page with text extracteds

Rating

0.0

(0)

Developer

NeverEmpty

NeverEmpty

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Extract text from images and scanned PDFs. Paste links to JPG, PNG, WebP, TIFF, BMP or GIF images, or to PDF files (including scanned PDFs), or Google Drive and Dropbox share links, and get the text of every page as a row.

Each row has the page text with its line breaks, the page number, a confidence score, word, line and character counts, and (if you want it) every word with its position on the page. You pay only for pages that have text: $2.90 per 1,000 pages, with no start fee and no charge per file or per megabyte.

What people use it for

  • Scanned documents to searchable text: contracts, letters, reports, old archives and books scanned as PDF or TIFF.
  • Receipts, invoices and forms: get the text out of photos and scans, then pass it to your spreadsheet, database or an AI model to pick out totals, dates and names.
  • Text for AI and search: turn image-only PDFs into plain text for RAG, summaries, translation or full-text search.
  • Screenshots and product images: read the text in screenshots, labels, menus, posters and slides.
  • Highlighting and redaction: turn on word positions to get a box for every word on the page.

Why use this one

  • Digital PDFs come back exact and fast. When a PDF page already contains text, that text is used as it is (no reading errors); only pages that are pictures are read as images. You can switch this off for PDFs with broken built-in text.
  • Multi-page files in one go. Every page of a PDF or a multi-page TIFF becomes its own row with its page number, up to the page cap you set.
  • Many languages, up to 5 per run, including Japanese, Chinese, Korean, Arabic, Hebrew, Hindi, Thai, Russian and most European languages.
  • Blank pages are skipped and not charged. Separator sheets and empty backs of scanned pages are left out, and the note says how many.
  • Google Drive and Dropbox links work as they are. Share the file as "Anyone with the link" and paste the share link.
  • Clear free rows instead of silent gaps. A link that cannot be read gets one row that says why (not shared publicly, password-protected PDF, web page instead of a file, too large and so on), and is not charged.
  • Confidence per page so you can send low scores to a person for a second look.

How to use

  1. Paste one or more links into Image or PDF links, one per line (leave it empty to try the example: a public-domain scanned press release from the US National Archives).
  2. Pick the Languages in the documents (English by default). The right language matters most for accents and non-Latin scripts.
  3. Optionally set Max pages per file, the PDF pages mode and Include every word with its position.
  4. Run. Open the Output tab: one row per page with its text. Download all rows as JSON, CSV or Excel.

Tip: if the text of a PDF looks wrong (missing letters, odd symbols), the PDF has broken built-in text. Set PDF pages to "Read every page as an image" (ocr) and run it again.

Input examples

Scanned PDF and two images in English:

{
"fileUrls": [
"https://example.com/scan.pdf",
"https://example.com/receipt.jpg",
"https://drive.google.com/file/d/FILE_ID/view?usp=sharing"
]
}

Japanese and English, first 20 pages of each PDF, read every page as an image, with word positions:

{
"fileUrls": ["https://example.com/report.pdf"],
"languages": ["jpn", "eng"],
"maxPagesPerFile": 20,
"pdfMode": "ocr",
"includeWords": true
}

Output

One row per page that has text. Example from a scanned 1969 NASA technical report (text shortened here):

{
"status": "ok",
"fileUrl": "https://ntrs.nasa.gov/api/citations/19690029423/downloads/19690029423.pdf",
"fileName": "19690029423.pdf",
"fileType": "pdf",
"sourceType": "direct",
"pageNumber": 9,
"pageCount": 35,
"text": "TEST SPECIMENS\n\nBoth a flutter model and a pressure survey model were used in the test\nprogram. The flutter model was a 30-degree segment of the S-IVB forward\nskirt. ...",
"textSource": "ocr",
"confidence": 95.8,
"wordCount": 368,
"lineCount": 33,
"characterCount": 2285,
"languages": "eng",
"imageWidth": 2406,
"imageHeight": 3044,
"words": null,
"note": null
}
FieldWhat it is
textThe page text, with line breaks and blank lines between paragraphs.
textSourceocr when the page was read as an image, pdf-text-layer when the PDF's built-in text was used.
confidenceAverage word confidence from 0 to 100 for pages read as images (empty for built-in PDF text).
wordCount, lineCount, characterCountCounts for the page.
pageNumber, pageCountThe page and the total pages in the file.
imageWidth, imageHeightSize in pixels of the image (or the rendered PDF page) that was read.
wordsWith "Include every word with its position": a list of { text, confidence, left, top, width, height } in pixels.
noteAnything worth knowing about the file: blank pages skipped, pages not read because of the page cap, and so on.

Free rows (not charged)

When a link cannot be processed, you get one row for it with status and a note that says why. These rows are free.

statusWhat it means
invalid-inputA setting or a link could not be read (for example an unknown language code). The note says which one.
unsupported-sourceA link to a video or social platform (YouTube, TikTok, Instagram and similar). Use a direct link to the image or PDF file instead.
not-publicA Google Drive or Dropbox file that is not shared as "Anyone with the link".
unreachableThe server did not answer, refused the request, or the file does not exist.
not-supportedThe link opens a web page or a file that is not an image or a PDF, or a HEIC/AVIF photo (save it as JPG or PNG first).
too-largeThe file is larger than "Max file size (MB)".
encryptedThe PDF needs a password to open.
no-textNo text was found in the file (for example a photo without writing, or only blank pages).
failedThe file could not be read (for example a damaged image or PDF).
budget-reachedThe run reached the maximum cost you set for it before this file.
time-limitThe run was close to its timeout before this file. Raise the timeout or run the rest again.

Pricing

  • $2.90 per 1,000 pages ($0.0029 per page returned). An image counts as one page.
  • No start fee and no charge per file or per megabyte downloaded.
  • Blank pages that are skipped and the free rows above are not charged.
  • Set a maximum cost per run in the run options and the run reads only as many pages as fit.

Example: 50 scanned PDFs of 20 pages each = 1,000 pages = $2.90.

Limits

  • Printed text reads best. Handwriting is not supported, and vertical Japanese or Chinese text (top to bottom) is not read reliably; use horizontal text.
  • Photos taken at an angle, blurry scans and very small print lower the confidence. For small print in PDFs, raise "Scan resolution for PDF pages (DPI)".
  • Links to video and social platforms are not downloaded; each gets a free unsupported-source row.
  • Google Drive and Dropbox files must be shared as "Anyone with the link". Folder links are not supported; link each file.
  • Files up to 500 MB and up to 500 pages per file (set lower defaults with "Max file size (MB)" and "Max pages per file").

More tools for files and media from the same developer

Thanks for using this Actor

We build these tools for people who run them every day, and we improve them from what users tell us.

  • Need another output or setting? Tell us in the Issues tab. We add the most requested ones in the next version.
  • Found a bug or a wrong value? Post the run ID in the Issues tab. Wrong data is the thing we fix first.

If this Actor saved you time, a short review helps other people find it.