Back to All Blog Posts
PDF Guides

How to Make a Scanned PDF Searchable with OCR

By 4 min read
A scanned page with a highlighted search result
Short answer

Open the scan in PDF to Text (OCR), choose the language of the text, press Extract text and download the Searchable PDF. The pages look identical, but now an invisible layer of recognised text sits underneath, so Ctrl+F, copy and paste, and screen readers all work.

A scanner or a phone camera produces photographs of paper. Saving those photographs as a PDF doesn’t make the words inside them into text. To your computer, a scanned contract is no different from a holiday picture. That’s why search finds nothing, and why you can’t select a single sentence.

How to tell if a PDF is scanned

  • Ctrl+F (Cmd+F) finds nothing, even for words you can clearly see.
  • Dragging the mouse selects a rectangle instead of a line of text.
  • Zooming in a lot makes letters fuzzy or pixelated, rather than smooth.
  • The page has a slight tilt, grey background or punch holes.

What OCR actually does

OCR (optical character recognition) looks at each page image, finds the shapes of letters and works out the words. A searchable PDF keeps your original page image on top and places the recognised words underneath it, in exactly the same positions, invisibly. When you search, the reader finds the hidden word and highlights the spot on the image. That’s why the file looks unchanged.

Making a scan searchable

  1. Open the PDF.

    Choose the file in PDF to Text (OCR). It’s read in your browser and never uploaded, which matters for medical, legal and financial records.

  2. Choose the language.

    Pick the main language of the text. Add a second one for mixed documents, such as English and Urdu, or English and Arabic.

  3. Leave "Improve scans" on.

    It enlarges small print, removes shadows and evens out dark or faded pages before reading.

  4. Extract, then download the Searchable PDF.

    You can also copy the text or save it as a .txt file.

Getting accurate results

ProblemEffect on OCRFix
Low resolution (under 200 dpi)Small letters merge togetherRescan at 300 dpi
Crooked or sideways pagesLines are misreadStraighten while scanning, or rotate first
Shadows and dark cornersWords disappear at the edgesScan flat in even light
Wrong language selectedAccents and scripts come out as nonsenseSet the correct language
HandwritingPoor recognitionOCR is designed for printed text

For a clean printed page at 300 dpi, accuracy is usually very high. Still, OCR mixes up similar shapes: 0 and O, 1 and l, rn and m. If you’re searching for invoice numbers or amounts, spot-check a few against the image.

What a searchable PDF isn’t

It’s not an editable document. The page is still an image; you can search and copy, but you can’t change a sentence in place. If you need to edit the content, copy the text into a word processor, or convert with PDF to Word and expect some formatting work.

File size

The hidden text layer adds very little. If the scan was already large, compress the searchable copy afterwards; the text layer survives normal compression.

Why it’s worth doing

Searchable archives save hours. Finding one clause in 300 pages of scanned agreements, a supplier name in a year of receipts, or a date in a court bundle becomes a two-second search. It also makes documents accessible to people using screen readers, which some organisations are required to provide.

Frequently asked questions

Why can’t I search my scanned PDF?

Because each page is an image. Search only works on real text, so the file needs OCR to add a text layer.

Does making a PDF searchable change how it looks?

No. The original page image stays on top and the recognised text is placed invisibly underneath.

Which languages are supported?

CleanPDF OCR reads 52 languages, including English, Urdu, Arabic, Hindi, Chinese and most European languages. You can choose a second language for mixed documents.

Can OCR read handwriting?

Not reliably. OCR is built for printed text. Neat block capitals sometimes work, but cursive handwriting usually does not.

Is it safe to OCR confidential documents online?

With CleanPDF, yes: OCR runs in your browser, so the document never leaves your device. Check that any other tool doesn’t upload files to a server.

Make your scan searchable

OCR in 52 languages, searchable PDF or plain text, all in your browser.

Open PDF to Text (OCR)
Akhtar Ali

Founder of CleanPDF. I build the site’s browser-based PDF, image, QR code and calculator tools, and I write these guides around the questions people send in while using them.