Skip to main content

We’d like to load Google’s advertising tag to measure how our ads perform. It sets cookies and is optional. Privacy policy.

Mudry
Guides

How to make a scanned PDF searchable

A scanned PDF is a photograph of a page, not text, which is why Ctrl+F fails. What OCR adds to make a scanned PDF searchable, and where accuracy breaks down.

Roman Modrytskyi6 min read

Written by the team building DoC Toolbox, every PDF tool you need, running on your own PC.


You have a PDF — a scanned contract, an old textbook, a document someone photographed with their phone — and Ctrl+F does nothing. You cannot select a sentence to copy it. The text is right there on the page, visibly, and the computer insists there is no text to find.

There is a specific, mechanical reason for this, and it tells you exactly what has to happen to make a scanned PDF searchable.

A scanned PDF is a photograph wearing a PDF extension

When a page is scanned, or photographed, what gets saved is a raster image — a grid of pixels — wrapped inside a PDF container so it can be viewed in a PDF reader and printed like a normal document. To the file format, it makes no difference whether that image shows text, a landscape photo, or a diagram. It is pixels. There is no concept of "letters" anywhere in the file.

Compare that to a PDF exported from Word or Google Docs. That one stores actual character codes — the letter "A", specifically, at a specific position, in a specific font. That is what your reader searches, what Ctrl+F matches against, and what a text cursor can select. A scanned page has none of it: only an image that happens to look like text to a human eye.

This is why the fix is not a settings toggle. There is genuinely nothing to switch on, because the information Ctrl+F needs was never captured in the first place.

What OCR adds to make a scanned PDF searchable

OCR — optical character recognition — is software that looks at the image, identifies the shapes that correspond to letters and words, and works out what text is actually printed on the page.

The output of a good OCR pass is not a new image. It is an invisible layer of real, selectable text, positioned to sit exactly on top of each corresponding word in the original scan. The page still looks identical — same layout, same scan quality, same coffee stain in the corner if there was one — because the visible image is untouched. Underneath it, aligned letter for letter, is the text your reader can now search, select, and copy. That combination is what "searchable PDF" specifically means: the original image, plus a hidden, positioned text layer laid under it.

Why accuracy varies so much

OCR is pattern recognition, and pattern recognition is only as good as the input:

Scan resolution matters more than anything else. A page scanned at 300 DPI gives the software crisp, well-separated letterforms to work with. A blurry phone photo at an angle, in poor light, is asking it to guess — and it will, confidently, sometimes wrong.

A skewed or rotated page hurts more than you would expect. A few degrees of tilt is usually handled automatically. A page photographed at a sharp angle is a much harder problem, and errors climb fast.

Font and print quality matter. A clean, modern typeface at a reasonable size is close to solved. A dot-matrix printout, a fax, a low-contrast photocopy of a photocopy, all give OCR far less to work with.

Handwriting is a different, much harder problem. Standard OCR is built for printed text. Cursive or handwritten notes will often come back wrong or empty — that is a separate capability (handwriting recognition), not a limitation of the OCR being used badly.

None of this means OCR needs to be perfect to be useful. Even at 90–95% character accuracy, which is typical for a reasonably clean scan, the resulting text layer makes the document searchable and mostly copy-pasteable, which is the actual goal — nobody expects to publish the extracted text unedited.

Making a scanned PDF searchable without uploading it

Free browser-based OCR tools are common, and for a public document — a scanned newspaper clipping, a form with nothing sensitive on it — one of them is a reasonable choice. For a scanned contract, medical record, or anything with a signature or ID number on the page, running OCR means sending the full image of that document to a server before you get anything back, which is worth pausing on for exactly that category of file.

DoC Toolbox runs OCR locally as part of Pro: the scan is read and the text layer is built on your own PC, with nothing uploaded first.

Getting a better result the first time

If you are about to scan the original document yourself rather than working with a scan you were sent, a few minutes of care up front saves an OCR pass full of misread characters later:

  • Scan at 300 DPI or higher rather than whatever the default happens to be.
  • Get the page flat and square in the scanner or frame, rather than correcting the angle afterwards.
  • Good, even lighting beats a higher-resolution camera pointed at a shadowed page every time.

The underlying rule is simple even when the software behind it is not: OCR can only recognise what it can clearly see, so the quality of the searchable result is set at the moment of scanning, not the moment of processing.

One more thing worth knowing: OCR and converting a PDF to an editable Word document are two different steps solving two different problems. OCR makes a scan searchable and copyable while it stays a PDF. If what you actually want is a Word file you can freely edit, run OCR first to give the page a text layer, then convert — trying to convert a scan straight to Word without that step gives a converter nothing to work with.

OCR is the right tool when you need the text. When you only need the image of the page — for a slide, a ticket or an upload form that refuses PDFs — converting the PDF to JPG skips the problem entirely.

Was this useful?

DoC Toolbox

Every PDF tool you need, running on your own PC. Free, no account.

See DoC Toolbox

Keep reading

  • Guides

    How to edit a PDF for free on Windows

    How to edit a PDF for free depends on what you mean by edit. Four different jobs hide behind that one word, and three of them cost nothing to do.

    6 min read

  • Guides

    How to sign PDF documents electronically on Windows

    A visual signature, a simple e-signature and a certificate-based one carry different legal weight. Which you need to sign PDF documents, and how to add one.

    6 min read

  • Guides

    Split PDF into multiple files on Windows

    Split PDF documents by page range, fixed count or bookmark, the native Windows Print-to-PDF trick, and what to check in the output before you send anything.

    5 min read

Know when the next app ships

1 more Windows utility is in development. One short email when each one is ready — nothing else.

Product releases only — roughly once a month. Unsubscribe any time.