How to Make a Scanned PDF Searchable (Free OCR)
By Arin Prajapati · Published
The short answer
A scanned PDF is a picture of text, so it cannot be searched until OCR (optical character recognition) reads it and adds an invisible text layer behind each page. You can do this free in your browser with damnfiles Scan to searchable PDF, which runs the Tesseract engine on your own computer, or with Acrobat Pro or the open-source OCRmyPDF on the desktop.
If Ctrl+F finds nothing in a PDF you can plainly read, the PDF is a scan: every page is a photograph of paper. Making it searchable means running OCR over each page and writing the recognised words back into the file, invisibly, in the same positions as the printed ones. The page looks identical; it simply has text behind it now.
How can I tell if a PDF is scanned?
Try to select a word. If your cursor draws a box over the whole page instead of highlighting a word, or a search for a word you can see returns no results, the page has no text layer. Another quick test is Extract text from a PDF: if it comes back empty, the document needs OCR.
How do I make a scanned PDF searchable for free?
Use Scan to searchable PDF on damnfiles. Recognition happens in your browser with Tesseract, the open-source OCR engine, compiled to WebAssembly. The OCR engine and the English language model (about 7 MB) are served from damnfiles itself rather than a third-party CDN, and are downloaded once, the first time you use the tool. Your scan is never uploaded, which matters when it is a contract, a bank statement or an ID.
- Open Scan to searchable PDF.
- Drop in a scanned PDF. You can add several at once; each produces its own searchable PDF.
- Set Render resolution. Each page is rendered at this multiple of 72 dpi before it is read: the default 2× is about 144 dpi, 3× is about 216 dpi, and 4× is about 288 dpi. Use 3× or 4× for small print, footnotes or a poor scan.
- Click Make it searchable, wait while each page is read, and download the file ending in
-searchable. - The report shows pages processed, words found and a confidence score. Below 80% is shown as a warning; check the text before relying on it.
Add a text layer to a PDF does the same job and is the one to reach for when the PDF is an old scan you already have. For a folder of files, Batch OCR processes them one after another.
What to expect from it, honestly:
- English only, for now. The tool loads Tesseract’s English model, so other languages, and especially non-Latin scripts, will not be recognised well.
- It is slower than a server. OCR is the heaviest work the site does, and your computer does all of it. A long document takes real time, and a very long one is limited by browser memory; split it with Split PDF if the tab struggles.
- Every page is re-rendered as an image. That is correct for a scan, but do not run it on a PDF that already has real text, because you would replace sharp vector text with a picture of it.
- Photos and image files are cleaned up first. If you drop in JPG or PNG scans instead of a PDF, they are converted to greyscale and contrast-boosted before reading, and that cleaned version is what goes into the PDF. Each image becomes its own one-page PDF; to get one document, combine the images first with Image to PDF.
How does a searchable PDF work?
The scan stays as the visible page. The OCR engine finds each word and its bounding box, and the tool writes that word as invisible text at the same position and roughly the same size. Your PDF reader searches and selects the invisible text, so highlighting a word appears to highlight the printed word. This is why a good OCR layer is accurate in position as well as spelling.
How do I make OCR more accurate?
Most OCR errors come from the scan, not the engine. These steps make the biggest difference:
- Scan at 300 dpi. The University of Illinois Library’s OCR guidance recommends 300 dpi for best accuracy (Illinois Library). At lower resolutions, small letters blur into each other.
- Keep pages straight. Skewed pages recognise noticeably worse. Lay them square on the glass or use the scanner’s feeder, and rotate any upside-down pages before OCR.
- Get good contrast. Dark text on a clean, evenly lit background is ideal. Avoid shadows across phone photos of documents, and switch off “auto colour” modes that grey out the paper.
- Expect trouble with small or unusual type. Very small fonts, typewriter faces and low-contrast text all reduce accuracy, according to the same library guide.
- Do not expect handwriting. Tesseract is trained on printed type. Neat block capitals may come out; joined-up handwriting mostly will not. damnfiles’ Handwriting OCR is worth a try, but expect to correct it.
- Raise the render resolution in the tool if the source scan is good but the text is small.
- Check the result. Search the output for a few words you can see on the page, and look at the confidence score.
Which OCR option should I use?
| Option | Cost | Output | File size or page limits | Languages | Uploads the file |
|---|---|---|---|---|---|
| damnfiles Scan to searchable PDF | Free | Searchable PDF | Your browser’s memory | English | No |
| Google Drive, Open with Google Docs | Free with a Google account | A Google Doc, not a searchable PDF | 2 MB per file (Google, checked November 2026) | Many | Yes, to Google Drive |
| Adobe Acrobat Pro | Paid subscription | Searchable PDF | Desktop app | Many | No (desktop app) |
| OCRmyPDF (open source, command line) | Free | Searchable PDF | Your computer | Many, via Tesseract language packs | No |
| Upload-based online OCR sites | Often free with limits | Usually searchable PDF | Varies | Varies | Yes |
Google Drive is fine for pulling text out of a short, non-sensitive document, but it gives you an editable Doc, and Google notes that tables, columns and footnotes may not convert reliably. If you need the original page appearance with searchable text, you need a tool that produces a searchable PDF.
How to verify nothing was uploaded
Open Scan to searchable PDF and press F12 to open the developer tools. On the Network tab you will see the OCR engine and language model load from damnfiles the first time, and then no request carrying your document while it is read. For a stricter test, run it once to cache the engine, disconnect from the internet, and run it again.
Frequently asked questions
Is OCR 100% accurate?
No. On a clean, straight, 300 dpi scan of printed text, OCR is very good. On faint photocopies, phone photos at an angle or small print, expect mistakes. Always spot-check important numbers, names and dates.
Will OCR change how my PDF looks?
The text layer is invisible, so the pages look the same. With damnfiles, each page is stored as a JPEG image at the resolution you chose, so the file size can go up or down compared to the original scan. If it grows, Compress PDF can bring it down.
Can I redact a scanned PDF after OCR?
Yes. Once the PDF has a text layer, Redact a PDF can find and remove words in it. See how to redact a PDF, and check the result, because a word OCR misread will not be found.
Can I OCR a PDF on my phone?
The browser tool works on phones, but recognition is slow on a phone processor and long documents may run out of memory. For anything more than a few pages, a laptop or desktop is much more practical.
Does a searchable PDF work with Bates numbering?
Yes. The text layer and a Bates stamp are independent. Make the scans searchable first, then apply Bates numbers, so the numbers are added as real text on top.