How to Make a Scanned PDF Searchable

Updated .

Learn how to make a searchable PDF from a scan with browser OCR, then test search, text selection and reading order in the download.

TL;DR

Article summary

A PDF can contain only page images. OCR recognizes the words on those images. Add a searchable text layer when readers need to find or copy the words.

Run OCR on a scan

Download the sample scan and open it in PDF Editor. The scanned page includes the phrase Bicycle repair checklist. Select English in the OCR controls, recognize the page, and inspect the recognized words. Check the spelling and reading order.

Compare two exports

Enable the option to add the searchable OCR layer and save with Keep text & forms. Reopen the result and search for Bicycle. Export a second copy using the flattened option and compare selection and file size in a PDF viewer. The flattened copy retains the visible scan as page imagery.

Try the same export choices on the separate text and form sample to see what happens to an editable field. If the source has a cryptographic signature, retain the original and verify any edited copy independently before treating it as signed.

When an OCR result needs review

Low contrast, folded paper and unusual typefaces can create errors. Check names, numbers and the reading order manually. Keep the original scan available if exact transcription matters.

Download the measured exports

The scan is 39,562 bytes. The searchable version is 52,839 bytes, and PDF text extraction returned the words Bicycle repair checklist. The flattened version is 60,667 bytes and returned no extractable text.

Find out whether the PDF already has searchable text

Search for a distinctive word visible in the PDF and paste a whole sentence into a plain-text editor. If the word is found and the sentence pastes in the right order, that page probably already has a useful text layer. Test another page: a compiled PDF can mix searchable pages and image-only scans.

To create a searchable PDF from an editable Word document, export from Word rather than scanning or taking screenshots. Use optical character recognition (OCR) when the input is already a scan or photo. Test first on a page with small text, columns or a reference number, not just the cover.

Check what a reader can find and copy

  1. Search for a phrase on the scanned page, then for a number elsewhere. Make sure the search highlights land on the intended words.
  2. Copy a paragraph and a line containing a date or number. Compare with the scan, paying attention to 0 and O, 1 and I, hyphens and decimal points.
  3. For a table or columns, copy a few lines across a boundary. OCR can recognize characters but mix their order. Use a verified transcription alongside the PDF if reading order must be exact.

If words are missing, check the page orientation and choose the printed language. When you can rescan, straighten the page, improve contrast and keep small print legible. Repeat the checks after export. A searchable text layer does not make the scanned lettering editable or give the PDF accessible headings, tables or reading order.

Verify your result

Search for a phrase near the edge of the page, then copy it and compare with the scan. Give numbers and similar-looking letters an extra check.