Not every PDF is searchable. Many — especially scans, faxes, and files exported from image tools — are just pictures of pages with no text underneath. You can read them, but you can’t search, select, or copy. Adding an OCR text layer fixes that without changing how the pages look.
How to tell if your PDF is image-only
- Open it and try to select a line of text with your cursor. On an image-only page, you’ll select a whole picture or nothing at all.
- Press Ctrl-F and search for a word you can clearly see. No results is a strong sign there’s no text layer.
- Check several pages. Some PDFs are mixed: a few pages have real text, others are scanned inserts.
There’s also a rarer case: a PDF that has a text layer, but a bad one. Search “works” but finds nothing useful, and copied text comes out as gibberish. That usually means a poor earlier OCR pass, and the fix is to replace the layer rather than add another one.
Option 1 — add OCR to the existing file (free)
If you have the PDF file itself, the cleanest approach is to OCR it directly. The page images stay exactly as they are; only the text layer is added.
NAPS2
- Open NAPS2 and import the PDF.
- Check the pages in the thumbnail view and rotate any that are sideways.
- Turn on OCR and set the document language.
- Save as a new PDF. Keep the original until you’ve checked the result.
OCRmyPDF
OCRmyPDF is built for exactly this job. You give it an input PDF and an output name, and it writes a searchable copy. A few options are worth knowing about:
- Skip pages that already have text, useful for mixed PDFs so the real-text pages are left alone.
- Force OCR, which rasterizes pages and re-OCRs everything — the option for replacing a bad text layer, at the cost of losing any real text that was there.
- Deskew and rotate pages, to straighten crooked scans before recognition.
- Language selection, so non-English documents are recognized correctly.
By default it writes PDF/A, an archival flavor of PDF, which is a sensible choice for documents you want to keep long term. It runs from the command line, so it suits people who are comfortable typing commands; NAPS2 is the friendlier choice if you’d rather click.
Option 2 — when you can’t get at the file
Sometimes the PDF isn’t a file on your drive. It’s displayed in a browser-based viewer, a document portal, or an app that shows pages but won’t download them. In that case, OCR tools have nothing to open. The workaround is to treat the screen as the source:
- Display the pages, one at a time, as large as the viewer allows.
- Capture each page cleanly, cropped to the page.
- Run OCR to recognize the words.
- Re-bind the pages into one PDF with the new text layer.
For a long PDF, the slow part is repeating that for every page.
CapDrop does this whole chain in one pass on Windows: pick a region and a page key, set an interval, and walk away — it captures each page, auto-crops, runs OCR locally, and binds everything into one searchable PDF. 100% local, for content you own, 7-day free trial. Try a real searchable sample — Ctrl-F it yourself.
Getting better OCR results
- Resolution matters most. If the scan itself is low resolution, OCR has little to work with. Re-scanning at a higher setting beats any software trick.
- When capturing from screen, zoom so the page fills the viewer. Larger on-screen text gives better recognition.
- Rotate first. Sideways or upside-down pages are often misread or skipped.
- Language. Set it before running OCR, especially for accented characters.
- Multi-column layouts are usually handled, but copied text can come out in an odd order. Search is not affected.
After OCR: verify
Open the new PDF, press Ctrl-F, and search a word from a page in the middle. It should highlight in the right spot. Select and copy a paragraph into Notepad to see the real recognized text, and spot-check names and numbers, which are the most common errors. Your files stay local with all of these tools — nothing is uploaded.
FAQ
Will the file get bigger? A text layer itself is small. Size changes mostly come from image handling — some tools re-compress pages, which can make the file larger or smaller.
Can I edit the text after OCR? Not in the usual sense. A searchable PDF keeps the original image, with text behind it. To edit, copy the text into a document editor.
Is Adobe Acrobat required? No. Acrobat’s paid tiers can OCR PDFs, but the free tools above do the same core job.
What about password-protected PDFs? If you have the password and the right to the file, open it normally first. These tools are not for removing protection from files you don’t own.