PDF & Image to Text - embedded text first, OCR only when needed avatar

PDF & Image to Text - embedded text first, OCR only when needed

Pricing

from $0.50 / 1,000 pdf page (embedded text)s

Go to Apify Store
PDF & Image to Text - embedded text first, OCR only when needed

PDF & Image to Text - embedded text first, OCR only when needed

Extract text from PDFs and images by URL, page by page. Uses a PDF's own text when present ($0.50 per 1,000 pages) and Tesseract OCR only for scanned pages and images ($2 per 1,000), with a confidence score. Pages with no text are free.

Pricing

from $0.50 / 1,000 pdf page (embedded text)s

Rating

0.0

(0)

Developer

Forge Creations

Forge Creations

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Security

Limited permissions

Share

PDF & Image to Text: embedded text first, OCR only when needed

Paste links to PDFs or images. You get the text back page by page:

  • PDF pages that already contain text are read directly: exact and fast.
  • Scanned PDF pages and images (PNG, JPEG, TIFF, GIF, WEBP, BMP) are read with Tesseract OCR, with a mean confidence score so you can filter weak pages.
  • Each row says which method was used: embedded-text or ocr.

Pricing

WhatPrice
PDF page read from embedded text$0.0005 ($0.50 per 1,000 pages)
Page or image read with OCR$0.002 ($2 per 1,000)
Apify start fee$0.00005 per run

Pages that return no text, failed downloads and unsupported files are not charged. Set a maximum charge in run options to cap spending.

Input

FieldDefaultNotes
fileUrlsrequiredPublic http(s) links, 50 MB max per file
languagesengTesseract codes joined by +; installed: eng, spa, fra, deu, por, ita
maxPagesPerFile50Pages read per PDF
ocrScannedPagestrueTurn off to read embedded text only (cheaper)
ocrDpi300Higher can help small print; slower

Output (one row per page)

source_url, page, pages_total, file_type, method, text, chars, mean_confidence, language, status (ok | no_text | ocr_failed | download_failed | unsupported_type | unreadable_pdf), error

Limits

  • Tesseract is good on clean printed text. It is weak on handwriting, photos of curved pages and complex tables. Check mean_confidence.
  • Files must be reachable by URL without logging in.
  • Layout is approximated: columns and tables come out as plain text lines.

Support

Open an issue on the Issues tab with the file URL (if shareable) and run ID.