How to Make a Scanned PDF Searchable with OCR, Step by Step
Published September 17, 2026 · By the TryDocsy team
Press Ctrl+F in a scanned PDF and nothing is found, because every page is a photograph of text rather than text. Optical character recognition (OCR) reads those pictures and hides a matching layer of real words behind them. This guide walks through doing that for free in the browser, with numbers from test scans we ran ourselves.
Short answer
Open OCR PDF, drop in the scan (up to 20 MB), choose the document's language, and press Make PDF Searchable, then Download Searchable PDF. In our tests a clean 300 DPI page came back with every word recognised and a 150 DPI page with 98.5 to 99 percent. Do any compressing before OCR, never after, because our compressor turns pages back into pictures.
What “searchable” actually means
A searchable PDF from a scan has two layers on each page. The visible layer is an image of the paper. On top of it sits invisible text, placed word by word at the positions where the OCR engine found each word. When you search, select or copy, your PDF reader works with the invisible layer, so the highlight lands on the right spot in the picture.
That design has a consequence people miss. The text layer is only as good as the recognition. If “morning” is read as “moming”, a search for morning skips that page, even though the page image clearly says morning. That is why the scan quality numbers below matter more than which button you press.
Before you start: check what you have
- Try selecting a word in your PDF reader. If you can highlight individual words, the file already has text and OCR won't help. For fixing that text, use Edit PDF instead.
- Check the size. The OCR tool accepts PDFs up to 20 MB. A thick scanned file can be split into parts first and merged again afterwards.
- If the file asks for a password when opened, it has to be unlocked before its pages can be read.
- If you only have phone photos of the pages rather than a PDF, you can run a single image through Image OCR to get the text, or turn the photos into a PDF first.
Step by step: OCR a scanned PDF in the browser
- Open OCR PDF and drag your scan onto the upload area. A preview of the pages appears.
- In the language picker, select every language printed in the document and nothing else. English is preselected. For a form printed in English and Hindi, select both.
- Leave Content type on Auto for normal letters and reports. Choose Dense paragraph / book for pages that are one solid block of text, or Sparse / scattered for forms where text sits in separate boxes.
- Decide on Enhance image (on by default). The trade-offs are in the next section.
- Press Make PDF Searchable. The first run downloads the language data; after that it is cached in the browser.
- When the success message appears, check the Extracted Text tab for obvious misreads, then press Download Searchable PDF. Copy text and a .TXT download are there too if you only need the words.
Our test: how scan resolution changes accuracy
We wrote a one-page notice of 204 words, printed it to A4 page images at three resolutions with a slight tilt and speckle noise, saved each as a PDF, and ran each through the tool twice, with Enhance image on and off. We then pulled the text back out of each downloaded PDF and compared it word for word with the original.
| Test scan | Input size | Accuracy, Enhance on | Accuracy, Enhance off | Output, Enhance on | Output, Enhance off |
|---|---|---|---|---|---|
| 300 DPI, 0.4° tilt, colour stamp | 578,802 bytes | 100% (204/204) | 100% (204/204) | 376,076 bytes | 1,842,767 bytes |
| 150 DPI, 0.4° tilt | 171,037 bytes | 98.5% | 99.0% | 250,501 bytes | 717,603 bytes |
| 100 DPI, 1.5° tilt, heavier noise | 79,351 bytes | 90.7% | 94.6% | 168,219 bytes | 578,204 bytes |
Three things stand out. First, resolution is the biggest lever: nothing we could toggle rescued the 100 DPI page, where “rupees” became “mpees” and “librarian” became “libranan”. The Tesseract project's own quality guide says the engine works best at 300 DPI or more, and our results line up with that. Second, Enhance image did not help on these computer-made test pages, and it cost about four points of accuracy on the worst one. Third, the output file can be much larger than the input, because the tool stores a freshly rendered page image rather than reusing the original JPEG.
Treat these as indicative, not a benchmark. They come from one page, one typeface and synthetic noise, not from a real flatbed scanner, and a faded photocopy or a phone photo taken at an angle will behave differently.
Enhance image: when to leave it on
With Enhance image on, each rendered page is converted to grayscale and its contrast is raised before recognition. That same processed image becomes the visible page in your download. In our 300 DPI test the blue stamp on the page came out grey. With the toggle off, the stamp kept its colour, but the file was nearly five times larger.
- Leave it on for faint, low-contrast or yellowed paper, and whenever a smaller output file matters more than colour.
- Turn it off when colour carries meaning (signatures in blue ink, highlighted amounts, coloured stamps) or when a sharp, clean scan reads fine without help.
- If a low-resolution page gives a poor result, run it once with each setting and keep the better text. On our 100 DPI page the plain version won.
The order of steps that keeps your text layer
Our Compress PDF tool works by drawing every page again as a JPEG image. That is effective for shrinking scans, but it also flattens away any invisible text. If you compress a searchable PDF, the result looks the same and is no longer searchable. So when a portal needs a small file that you can also search, compress the scan first and run OCR on the compressed copy.
| Goal | Order |
|---|---|
| Searchable archive copy | OCR only, Enhance off if colour matters |
| Searchable and under a size limit | Compress, then OCR, then check the size again |
| Just the words for a document or email | OCR, then Copy text or Download .TXT |
| Correct a misread word inside the PDF | OCR in the PDF editor, then fix the word in place |
The last row is worth knowing about. The PDF editor runs the same OCR engine when you open an image-only file, and the recognised words become editable lines, so you can repair “moming” before saving instead of living with it.
Getting a better scan in the first place
- Scan at 300 DPI in grayscale. Colour scanning triples the data without improving recognition of black text.
- Lay the page flat and square on the glass. Tilt, curved pages near a book spine and shadows all cost accuracy.
- For phone photos, shoot straight down in even daylight, fill the frame with the page, and avoid zooming in digitally.
- Keep handwriting out of your expectations. The engine is trained on printed text, so handwritten notes in margins will be missed or turned into noise.
How we measured
- Sample: a 204-word English notice we wrote, set in Times New Roman 11 pt on A4 and rasterised with Python Pillow at 300, 150 and 100 DPI with rotation and random speckle noise added, then saved as single-page JPEG-based PDFs. These are synthetic scans, not output from a physical scanner.
- Tool: trydocsy.com/pdf/ocr from the development build of 17 September 2026, run in Microsoft Edge on a laptop with a 12-thread Intel Core i5-12450H. Language English, Content type Auto, Performance mode Auto, Enhance image on and off.
- Accuracy: text extracted from each downloaded PDF with pypdf, lowercased, split into words, and aligned with the original using a longest-matching-sequence comparison. Accuracy is matched words divided by 204.
- Timing: each single-page run took 4.0 to 4.7 seconds from pressing the button to the success message, including starting the OCR engine.
Frequently asked questions
Why does my searchable PDF look grey when the scan was in colour?
Enhance image was on. It converts the page to grayscale and boosts contrast before recognition, and that processed image is what gets saved. Run the file again with Enhance image turned off to keep the colours, at the cost of a larger file.
Why is the searchable PDF bigger than my scan?
The tool saves a freshly rendered image of each page next to the text layer rather than reusing your original image, so a compact JPEG scan can grow. In our test a 171 KB page became 251 KB with Enhance on and 718 KB with it off.
I compressed my searchable PDF and now search finds nothing. What happened?
The PDF compressor redraws every page as a JPEG image, which drops the hidden text layer. Go back to the uncompressed searchable file, or compress the original scan first and run OCR on the compressed copy.
Can I OCR a 60-page scan?
Yes, if the file is 20 MB or smaller. There is no page cap, but every page is rendered and recognised on your device, so long files take proportionally longer. A larger file can be split, processed in parts, and merged back together.
How accurate is free OCR compared with paid software?
On clean printed text at 300 DPI it can be very accurate: our test page came back word-perfect. The gap with paid tools shows up on poor scans, complex layouts and handwriting, so always proofread numbers, names and dates before relying on them.
Tools used in this guide
Sources
- Tesseract documentation: Improving the quality of the output (read September 17, 2026)
Spotted something out of date? Tell us through the contact page.

