OCR PDF

Read the text in scanned PDF pages with OCR, in 18 languages, and copy or download it.

Runs in your browser. Nothing is uploaded.

Updated

Scanned PDFRuns in your browser · one PDF up to 100 MB, 200 pages at a time
Language of the text (up to 3; download 2.8 MB the first time)
Your PDF is read in your browser and never uploaded.

How to use OCR PDF

  1. Choose or drop a PDF.
  2. Pick the language and which pages to read.
  3. Read the text, check it, then copy or download it.

OCR PDF at a glance

Typical use: Get the text out of a scanned contract or a photographed letter saved as PDF.

Runs in your browser with Tesseract; the first run downloads the engine (about 3 MB) and each language (1–3 MB). Pages that already contain text use it as it is.

When to use OCR PDF

A scanned PDF holds pictures of pages, not text: you can’t select a sentence, search for a word, or copy a paragraph into an e-mail. PDF to Text finds nothing in it. This tool reads the letters in those pictures (optical character recognition, OCR) and gives you the text.

Typical files: a contract that was printed, signed and scanned; a letter photographed with a phone and saved as PDF; an old report from a scanner; a bank statement sent as images.

How OCR PDF works

Each page is drawn the way you see it (turned pages upright), at 300 or 200 dots per inch, and read by Tesseract, the open-source OCR engine, running as WebAssembly in your browser. Light text on a dark background is inverted first. Your PDF is never uploaded.

Many PDFs mix real pages and scans. With “use the page’s own text” on, pages that already contain text keep it exactly, and only the scans are read with OCR, which is also much faster.

OCR PDF examples

A scanned contract, 12 pages. Keep English and all pages, press Read text. Each page takes from one to a few seconds; the text appears with “--- Page 3 ---” headings and a confidence score. Download it as contract.txt.

Only the pages you need. Choose “Only these pages” and type 4-6 to read just the pages with the figures you want to copy.

A French and English form. Tick both languages. Tesseract then knows the letters and words of both, so “é” and “ç” come out right.

Getting the best result

  • Pick the language of the text; without it accents and other scripts are misread.
  • Use “Best (300 dpi)” for small print; “Fast (200 dpi)” is fine for large, clear text.
  • For forms, tables and receipts try the “One column of lines” or “Scattered text” layout if the order of the text comes out wrong.
  • Pages under 75 % confidence are listed: check their names and numbers. Handwriting is not read reliably.

Prefer the terminal?

The same in a terminal with OCRmyPDF (which uses Tesseract):

ocrmypdf -l eng --sidecar scan.txt scan.pdf scan-searchable.pdf

Install it with brew install ocrmypdf (Mac) or apt install ocrmypdf (Ubuntu). --sidecar writes the text to scan.txt; it also makes a searchable copy of the PDF, which this page doesn’t. Use --skip-text to leave pages that already have text alone, like the “use the page’s own text” option here.

References

Frequently asked questions

Is my PDF uploaded?

No. The pages are drawn and read in your browser; only the OCR engine and the language files are downloaded from this site the first time.

Does it make the PDF searchable?

Not yet: it gives you the text, to copy or download as a .txt file. To search inside the PDF itself, use OCRmyPDF on a computer (see the command above).

How long does it take?

About one to several seconds per page, depending on your device, the resolution and how much text there is. Up to 200 pages at a time; you can stop at any moment and keep the pages read so far.

Why are some pages read instantly?

Those pages already contain real text, so it is used as it is instead of OCR. Turn off “use the page’s own text” to OCR every page anyway.

Can it read a password-protected PDF?

Yes, if you know the password: the page asks for it when you open the file.