How to make a scanned PDF searchable with OCR
By SumitPublished 1 Sept 2026Last reviewed 10 Oct 20265 min readWorkflows
Short answer
Open OCR PDF, select the language the document is written in, and choose Searchable PDF as the output. OCR reads each page image and places the recognised words invisibly behind it, so Ctrl+F and copy-and-paste work. OCR is never perfect, so search for a few words and numbers you can see, and spot-check copied text, before you rely on it.
A scanned PDF looks like a document but behaves like a photo album. You can read it; your computer can’t. Search finds nothing, copy-and-paste grabs nothing, and a screen reader has nothing to read aloud.
Optical character recognition (OCR) fixes this by working out which characters are in each image and writing them into the file as real text. Here’s how to tell whether you need it, how to get a good result, and how to check it.
Do you actually need OCR?
Open the PDF and try to select a single sentence with your cursor.
- If individual words highlight, the PDF already has text. You don’t need OCR; Extract text and Search PDF will work as it is.
- If your cursor draws a box over the whole page, or nothing highlights, the page is an image and you need OCR.
- If it’s mixed, like a typed report with a few scanned signature pages, consider running OCR on just the scanned pages. OCR PDF re-renders every page it processes, including pages that already had perfect text, and replaces that text with its own reading.
Choose the right language
OCR uses knowledge of the language to decide between look-alike characters: “rn” or “m”, “0” or “O”, “l” or “1”. Run a German letter through the English model and the accented letters and common words come out wrong. Always pick the language the document is written in.
OCR PDF currently supports English, Hindi, Spanish, German and French. Each language’s data downloads the first time you use it and is then kept by your browser.
Get a better result from the scan itself
Most OCR errors are decided before you press the button. If you’re scanning the paper yourself:
- Resolution: 300 DPI is a good default for ordinary printed text. Below about 200 DPI, small characters start to merge.
- Straight pages: even a slight tilt increases errors. Use your scanner’s deskew option, or rescan crooked pages.
- Contrast: clean black text on white paper works best. Faint photocopies and coloured backgrounds cost accuracy.
- Phone photos: shoot from directly above, in good light, with the page filling the frame. Scan to PDF builds a multi-page PDF from your photos.
Run OCR, step by step
- 1
Open OCR PDF and drop in the scanned file. If it’s password-protected, unlock it first.
- 2
Choose the language the document is written in.
- 3
Choose the output: Searchable PDF keeps the pages and adds a hidden text layer; Plain text gives you a .txt file of everything recognised.
- 4
Start OCR and leave the tab open. Every page is processed on your own device, so a long document takes a while: a few seconds per page on a laptop, longer on a phone.
- 5
Download the result and check it, as described in the next section.
- 6
If the file is now too large to send, bring it down with Target size in Compress PDF. The hidden text layer is kept.
Check what OCR recognised
Even on a clean scan, OCR makes mistakes, and they cluster where they matter most: numbers, names, punctuation, and anything in a table. W3C’s guidance is to verify that the converted text is complete and in the right reading order, not to assume it.
- Search test: press Ctrl+F (Cmd+F on a Mac) and search for three or four words you can see on different pages, including one from a footnote or a table.
- Numbers: search for an amount, date or reference number exactly as printed. This is where 1 and l, 0 and O, or 5 and S get swapped.
- Copy test: copy a paragraph and paste it into a text editor. Check the words come out in reading order, especially on pages with columns.
- Full check: for anything you’ll quote or rely on, compare the output of Extract text with the page itself.
What changes in the file
OCR PDF re-renders every page as a high-resolution image (about 216 DPI) and places each recognised word, invisibly, over the spot where it appears. At normal zoom the page looks the same, but it’s now a fresh image of the original rather than the original page itself, and the file is often larger than before.
Keep your original scan. If you need an editable document rather than a searchable one, converting a scanned PDF to Word builds on this same OCR step.
Limits worth knowing
- Handwriting isn’t reliably recognised. The engine is trained on printed text.
- Supported languages are English, Hindi, Spanish, German and French. For Hindi, use the plain text output.
- The searchable layer drops accents, so search without them.
- Every page is re-rendered, including pages that already had real text, and their text is replaced by the OCR reading.
- OCR runs on your device: slower than a server, and much slower on a phone.
- Password-protected PDFs have to be unlocked first.
Tools used in this guide
- OCR PDFMake scanned pages searchable with local browser OCR (Tesseract). English, Hindi, Spanish, German, or French — language packs download on first use.
- Scan to PDFUse your camera or images to build a multi-page PDF — no app install.
- Extract textPull all text out of the PDF. Copy or download as plain text.
- Search PDFFind every occurrence of a word or phrase across the document.
- Compress PDFShrink PDFs locally — keep selectable text by default, or max-shrink with a searchable overlay.
- PDF to WordConvert a PDF to an editable Word .docx locally. Best for text-based PDFs — run OCR first on scans.
Frequently asked questions
How do I know if my PDF needs OCR?
Try to select a sentence. If individual words highlight, the PDF already has text and you don’t need OCR. If you can only select the whole page, or nothing at all, it’s a scan and needs OCR.Will OCR change how my document looks?
At normal zoom it looks the same, but each page is re-rendered as a new image with the text placed invisibly over it. Keep the original if you need the untouched scan.How accurate is OCR?
On a straight, clean, 300 DPI scan of printed text, most words come out right. Accuracy drops with faint copies, unusual fonts, tables and handwriting. Always check numbers and names.Can I OCR a Hindi document?
Yes. Choose Hindi and the plain text output. The hidden text layer in a searchable PDF can’t store Hindi characters.Is my scan uploaded?
No. The OCR engine runs in your browser. The only download is the language data, the first time you use each language.
Sources
- W3C Web Accessibility Initiative, PDF7: Performing OCR on a scanned PDF document to provide actual text
Related guides
More in workflows- Compress a PDF for emailGet under the attachment limit and keep small text readable, and know when to split instead.
- PDFs for government formsFrom phone photo to a PDF that passes the portal’s size limit, plus what you can and can’t hide.
- Visa application documentsUnlock bank statements, merge by category and get each file under the upload limit.
- Scanned PDF to WordWhy a scan converts to an empty .docx, and the OCR step that fixes it.
- Compress without losing qualityKeep selectable text when you can, and only rasterize when scans force the issue.
- PDF to Word formattingGet editable text out of a PDF without expecting a pixel-perfect Word clone.