To make a scanned PDF searchable, run it through OCR (optical character recognition). OCR reads the words in each scanned page and adds them as an invisible text layer, so the file looks the same but you can search it with Ctrl+F, select text and copy it. You can do this online in your browser without uploading the file, with a desktop app such as Adobe Acrobat, or with the free ocrmypdf command-line tool.
- A scanned PDF is a set of pictures of paper; until it has a text layer, search and copy find nothing.
- OCR PDF on ToolsForAnyone adds that text layer in your browser: free, no sign-up, and your PDF never leaves your device.
- Straight pages, 300 DPI and the right language setting make the biggest difference to accuracy.
- OCR is never perfect, and handwriting is poorly recognised. Check names and numbers that matter.
How to make a scanned PDF searchable online (no upload)
- If your pages are crooked, straighten them first with Deskew PDF. Choose 300 DPI (print) and click Straighten pages; then pick OCR PDF under Continue with your file.
- Open OCR PDF (or arrive there from the previous step) and drop in your scanned PDF.
- Under Language of the document, choose the language the text is written in. English, Spanish, Portuguese, German, French, Italian, Turkish, Russian, Indonesian, Chinese (Simplified) and Arabic are available.
- Keep Resolution at 300 DPI (best for OCR), or choose 200 DPI for a faster run on a long document.
- Click Make searchable. Recognition takes a few seconds per page. Then download the result and try Ctrl+F (Cmd+F on a Mac) in your PDF reader.
Recognition is done by Tesseract, a widely used open-source OCR engine, running inside your browser tab. The first time you pick a language, its language data (a few MB) is downloaded once. Your PDF is not sent anywhere, which matters for bank statements, contracts, medical letters and ID documents.
Still on paper? Use Scan to PDF to turn phone photos of the pages into a PDF first, then run OCR on it. Our guide on how to scan a document to PDF has tips for getting sharp, evenly lit pages.
What OCR is and how a text layer works
A scanner or phone camera captures a page as an image: millions of coloured dots. You can read the words, but your computer cannot. OCR software looks at the shapes in the image, finds the lines of text, splits them into words and characters, and decides which letters they most likely are, using the language you choose to make better guesses.
A searchable PDF keeps the original scanned image of every page and adds the recognised words on top of it as invisible text. Each word is placed over the spot where it appears in the picture. When you search, the reader finds the invisible word and highlights the matching area of the image. When you select and copy, you copy the invisible text. That is why a searchable PDF looks exactly like the scan, and also why any OCR mistakes only become visible when you copy or search.
| Scanned PDF | Searchable PDF (after OCR) | |
|---|---|---|
| Looks like | The paper page | The same |
| Ctrl+F search | Finds nothing | Works |
| Select and copy text | No | Yes |
| Screen readers | Nothing to read | Can read the text |
How to get more accurate OCR
- Resolution. Tesseract's own documentation says it works best on images of at least 300 DPI. Low-resolution scans make small letters blur together. If the original scan is poor, rescanning at a higher resolution helps more than any setting.
- Straight pages. OCR reads along lines of text. Even a few degrees of tilt causes errors, so straighten crooked scans with Deskew PDF first. Turn sideways pages upright with Rotate PDF.
- Contrast. Dark text on a plain, light background is ideal. Shadows, coloured paper, show-through from the back of the page and heavy JPEG compression all add noise.
- Language. Pick the language the document is written in. With the wrong language, accented letters and common words are recognised less reliably.
- Layout. Plain paragraphs work best. Tables, multiple columns, stamps and text on top of pictures are harder and may come out in the wrong order.
Handwriting is a different problem. Engines built for printed text, including Tesseract, recognise handwriting poorly, so expect handwritten notes to be wrong or missing.
Other ways to OCR a PDF
- Adobe Acrobat. The paid versions of Acrobat include a Scan & OCR tool that recognises text in scanned documents and makes them searchable.
- Mac: Live Text in Preview. On recent versions of macOS, Live Text lets you select and copy text from a picture opened in Preview. It is handy for grabbing a few lines, but it does not save a searchable text layer into the PDF.
- Command line: ocrmypdf. The free, open-source
ocrmypdftool adds a text layer to PDFs using Tesseract, and is available from most Linux package managers and Homebrew on a Mac. A basic run looks likeocrmypdf -l eng in.pdf out.pdf; replaceengwith another language code if needed. It suits batches of files.
What to do with your searchable PDF next
- Edit the text: convert it with PDF to Word. See how to convert PDF to Word for what to expect from the layout.
- Make it smaller: use Compress PDF in Lossless mode. The Recommended and Strong modes turn pages back into plain images and would remove the text layer you just added.
- Just the words: PDF to Text saves the recognised text as a plain text file.
Frequently asked questions
How do I make a scanned PDF searchable for free?
Use a free OCR tool such as OCR PDF: drop the file in, choose its language and click Make searchable. It runs in your browser, needs no account and does not upload the PDF. On Linux or a Mac, the free ocrmypdf command does the same offline.
How can I tell if a PDF is already searchable?
Open it and press Ctrl+F (Cmd+F on a Mac), then search for a word you can see on the page. If nothing is found, or you cannot select the text with the mouse, the PDF is a scan without a text layer.
Does OCR change how my PDF looks?
No. The scanned image stays the same and the text layer is invisible. Only search, selection and copying change.
Why does copied text contain mistakes?
The text you copy is what the OCR engine recognised, and recognition is never perfect. Blurry, crooked, small or low-contrast text causes most errors. Straighten the pages, use 300 DPI and check the language setting, then run OCR again on the original scan.
Can OCR read handwritten documents?
Not reliably. Most OCR engines, including the one used here, are designed for printed text.
Is it safe to OCR confidential documents online?
It depends on the service. Many online PDF tools upload your file to their servers. A browser-based tool processes it on your own device instead; see how online PDF tools handle your files.
Yorumlar
Bir ipucu paylaşın, soru sorun ya da aracın işinize nasıl yaradığını anlatın.