Skip to content
Jellykit

OCR PDF: Make Scanned PDFs Searchable

Recognise the English text on scanned PDF pages and add it as invisible text, so the file can be searched and copied while every page looks the same.

  • Runs on your device
  • Works in the background
  • Loads an engine on first use
Loading tool

About OCR PDF: Make Scanned PDFs Searchable

A scanned PDF is a stack of pictures: you can read it, but you cannot search it, select a sentence or copy a figure out of it. This tool reads the text on each scanned page with an English text recognition engine and writes the words back as invisible text, laid over the printed words. The pages look exactly as before, because their images are never redrawn or recompressed, yet a PDF reader can now find, highlight and copy what they say.

Pages that already carry text are found and, unless you choose otherwise, left as they are. Everything happens in your browser, one page at a time, and the file is never uploaded. The recognition engine downloads on first use; after that first run it also works offline.

How it works

  1. Each page is checked for a text layer first. A page whose text holds at least 20 letters or digits already has text and is left as it is, unless you ask for it to be read too.
  2. Every other page is drawn at 300 DPI (less for very large pages, to stay within what a phone can draw) and read by Tesseract, an open-source recognition engine, with its English model, in a background worker.
  3. Each recognised word is written into the original file as invisible text, sized and stretched to cover the word on the page and run along its line. Nothing on the page is redrawn: its images keep every original byte.
  4. Pages are drawn, read and released one at a time, so a long document does not fill the memory. The progress bar names the page being read, and Cancel stops at once.

Questions

Which languages can it read?

English only for now: it is the one recognition language this site ships. Other languages written in the Latin alphabet may come out partly right, with errors, and other scripts are not recognised. A word with characters the standard PDF font cannot hold is left out of the text layer rather than written wrongly, and the result says how many were.

Will my scan look any different?

No. The page images are kept byte for byte, with the same page sizes, rotation and crop. Only invisible text is added on top, so the file grows a little and every page looks as it did. The file is written out again, though, so a digital signature in it will no longer verify.

How large a PDF can it handle?

Files up to 100 MB with up to 200 pages. Each page takes from a few seconds to half a minute on a laptop, and longer on a phone, so a long scan can take an hour or more: the progress bar shows which page is being read, and you can cancel at any time. A page larger than about 2 metres on a side is refused, because it cannot be drawn sharply enough to read.

What happens to pages that already have text?

By default they are left exactly as they are, and the result lists them. Choose “Read them too” to recognise them anyway, for example when a page holds a scanned image with only a typed stamp on it; such a page then holds its text twice.

Is my file uploaded, and does it work offline?

The file is never uploaded: it is read, recognised and written in this browser. The recognition engine and its English model, a few megabytes, download the first time you run the tool; after that first run it works offline too.

Why are some words missing or wrong?

Recognition needs clear, upright print. Faint or very small type, handwriting, photographs and pages scanned sideways give poor results: turn sideways pages upright first. Password-protected PDFs are refused; remove the password first.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.