PDF tasks · OCR
Make a scanned PDF searchable with an OCR text layer while keeping the page images
A filing cabinet of scanned PDFs is only useful if you can find the one page you need. OCR adds a searchable text layer behind the scanned images, so the file looks exactly as it did on paper — stamps, signatures and all — while Find, selection and copying start working. This guide makes a scan searchable without turning it into a rewritten document, in Acrobat first, then with free routes.
The goal: searchable, not rewritten
A scanned PDF is a set of page pictures — you can look at it, but you cannot search it, select a sentence, or copy a reference number out of it. OCR (optical character recognition) fixes that by reading the pictures and adding an invisible text layer behind each page image. Done the way this guide does it, the pages look exactly as scanned — same handwriting in the margins, same stamps, same faded lines — while Find, selection and copying work like a normal PDF. That is different from converting a scan to editable text, which rebuilds the pages as flowing text and can change layout, fonts and pagination. For archives, records and anything whose appearance is part of its value, searchable-with-images is the right target. Adobe describes the same result in Recognize text in scanned PDFs with Acrobat: Acrobat creates a searchable text layer in your PDF.
Make a scan searchable in Adobe Acrobat
Acrobat's desktop app is the most direct route when you have it. Work on a copy, so the original scan stays untouched until you are happy with the result.
- Copy the file and open the copy. Duplicate the scanned PDF in your file manager, give the copy a clear name such as the original plus “-searchable”, and open the copy in Adobe Acrobat.
- Open All tools > Scan & OCR. Select All tools, then Scan & OCR. Under Recognize Text, select In this file.
- Set the page range and language. Choose All pages (or the range that is actually scanned images), and set the recognition language to the language of the document — the single biggest accuracy setting. Mixed-language documents should use the dominant language; a wrong language produces confident nonsense.
- In Settings, choose the searchable-image output where offered. Where your Acrobat version offers an output choice, pick the searchable image option, which keeps the page image and adds the text layer, rather than editable text and images, which rebuilds the pages. Leave the straighten option and similar image cleanup on for typical office scans.
- Select Recognize Text and let it finish. Acrobat works through the pages; a long file can take some minutes. When it completes, save with Ctrl+S (Windows) or Command+S (Mac), keeping the new name.
Process a folder of scans at once
For a backlog — a box of scanned files rather than one — Acrobat's same tool handles multiple files: All tools > Scan & OCR > In multiple files, add the files or a folder, set the output folder and filename preferences, confirm the same language and searchable-image settings, and run it. Processed files land in the output folder as searchable versions; the originals stay where they were. Run a small batch of three or four files first and search-test one of them before committing a large folder to the same settings.
Free and built-in alternatives
Without Acrobat, the same searchable-image result is available from several routes. Adobe's own online OCR tool handles a single PDF in the browser — practical for an occasional non-confidential file; a scanned record you would not upload to a website should stay on a local tool instead. On a computer you control, the open-source OCRmyPDF tool is built for exactly this job: it adds a text layer while keeping page images, and its skip-text option leaves pages that already have text untouched, which suits part-scanned, part-digital files. Whichever route you use, the acceptance test in the next section is the same.
Test that the text layer is really there
- Search for a word you can see on the page. Open the saved file, press Ctrl+F (Windows) or Command+F (Mac), and search a distinctive word from the middle of a page — a surname, a place, a reference number. It should be found and highlighted on the page image.
- Select and copy a line. Drag across a line of text and paste it into a plain text editor. Mostly-correct words with the odd wrong character are normal OCR; whole lines of gibberish point to a wrong language setting or a poor scan.
- Check a weak page. Test the worst page in the file — the faintest or most skewed — not just the clean first page. If that page searches acceptably, the file is in good shape.
End state
- The saved PDF looks identical to the scan — same page images, order and count — and opens at the same pages as before.
- Find locates words from the start, middle and end of the document, and selected text copies out as readable words.
- The original scan is still on disk under its original name, unchanged, in case the OCR copy is ever questioned.
When it goes wrong
- Search still finds nothing. The OCR step was run on the original but saved under the new name — or the other way round. Open the file you are actually testing, confirm its name, and re-run Recognize Text on that copy if needed.
- Recognized text is gibberish. The recognition language does not match the document, or the scan resolution is very low. Set the correct language and re-run; for a poor scan, scanning the page again at 300 dpi in grayscale usually fixes more than any setting.
- File size balloons. Some tools re-encode page images at higher quality than the scan. Re-run with the searchable-image output and standard compression, and compare against the original size before replacing anything.
- Handwriting is not found by search. General OCR reads print far better than handwriting. Typed and printed pages become searchable; handwritten notes on the same page usually remain image-only. Treat any found handwriting as a bonus, not the standard.
Related document tasks
-
Turn a scanned document into editable text with OCR
Read a scanned page into searchable, editable text with Drive, with OneNote, or with Acrobat, then clean up names and numbers.
-
Turn photos and scanned images into a single PDF
A stack of receipts, a signed form photographed page by page, a child's artwork, a pile of old prints — one PDF is easier to send, file, and print than a dozen loose image files.
-
Add alt text to images in Word and in a PDF
A picture with no alt text is a blank spot to anyone using a screen reader — and adding the description takes seconds once you know where the box is.
-
Lock a PDF against copying text while still letting people read and print it
Sometimes a document should be easy to read and print but not easy to lift text out of — a price list, an exam, a draft that should circulate as-is.
Sources
- Adobe Acrobat Help, Recognize text in scanned PDFs with Acrobat — Scan & OCR > Recognize Text in a single file or multiple files, page range and language settings, output options, and the searchable text layer Acrobat creates.