Apify

PDF OCR and Text Extractor

Page updated

Price: $4.00 per 1,000 OCR pages, flat on every Apify plan ($0.80 per 1,000 text-layer pages; $8.00 per 1,000 large 10–20 MB images), no start fee. Free-plan cap: up to 100 pages per run on the Apify Free plan. Prices checked on 2026-10-19.

PDF OCR and Text Extractor turns PDFs, scans, and images into text, one row per page. Pages with a text layer are read directly; scanned pages and images go through Tesseract OCR. Each file also gets a free summary row with pages extracted, failed, and billed.

Treat OCR text as a working copy. Handwriting and damaged scans are outside what the tool can promise, and nothing here is a certified transcript.

Who it is for

Analysts and developers who have PDFs or scans and need the text for search, RAG pipelines, or data entry.

  • Convert a batch of PDFs to text for search or an LLM pipeline, with page numbers.
  • OCR scanned PDFs and images (TIFF, PNG, JPEG) that have no text layer.
  • Pull clean tables from text-layer pages as CSV.
  • Check whether a PDF already has a text layer before paying for OCR.

Inputs

Field Type Required Description
urls array of URLs No Public links to PDFs or images (PNG, JPEG, TIFF, GIF, WebP, BMP). The type is detected from the file itself. Up to 1,000 files per run.
keyValueStore string No Optional. One of your Apify key-value stores with uploaded PDFs or images. Every record is processed.
keyPrefix string No Optional. Only process store records whose key starts with this.
dataset string No Optional. One of your Apify datasets; the url field of each item is processed.
mode string No auto (text layer first, OCR only where needed), text (never OCR) or ocr (OCR every page). Defaults to auto. Images are always OCR'd.
extractTables boolean No Add clean tables from text-layer pages as CSV strings. Not billed separately. Defaults to false.

Example input

{
  "urls": [
    "https://example.com/scans/annual-report.pdf"
  ],
  "mode": "auto"
}

Example output

Sample records for shape only. They are not a live response.

[
  {
    "type": "page",
    "file": "https://example.com/scans/annual-report.pdf",
    "page": 1,
    "method": "ocr",
    "text": "Sample text recovered from a scanned page. Not a real document.",
    "charCount": 63,
    "ocrMeanConfidence": 91.4
  }
]

Price

$4.00 per 1,000 OCR pages ($0.80 per 1,000 pages with a text layer; $8 per 1,000 large 10-20 MB images)

Free-plan cap: Up to 100 pages per run on the Apify Free plan

Billing happens on Apify, not on this website.

Limits

  • Up to 100 pages per run on the Apify Free plan. Paid plans get full results.
  • PDFs up to 50 MB and 500 pages per file. Images up to 20 MB and 50 megapixels.
  • English OCR only. Handwriting, heavy stamps, and very small type are unreliable.
  • Damaged, password-protected, or malicious files return a free error row.

What it does not do

  • It does not promise a word-perfect or certified copy.
  • It does not describe images, charts, or photos beyond text that is actually printed.
  • It does not take uploads on this website. Runs happen on Apify.

FAQ

How much does it cost?

$4.00 per 1,000 OCR pages or images, $0.80 per 1,000 pages read from a text layer, and $8.00 per 1,000 large 10 to 20 MB images. The same on every Apify plan, with no start fee.

Do I pay for failed pages?

No. Failed pages and files are free, and you pay only for pages actually extracted, never for the page count a file claims.

What if the PDF already has real text?

In auto mode the text layer is read directly at the lower text-page price, and OCR is used only on pages with no text.

Which languages work?

OCR is English only. OCR text is a searchable draft, so check numbers from receipts or invoices against the original.

Can I process private files?

Yes, through your own Apify key-value store. Files are processed in your own run and are not stored or viewed by Lepidata.

Run it on Apify