Making a scanned PDF searchable: what OCR does, and what decides whether it works
A scan looks like a document and behaves like a photograph. Ctrl+F finds nothing in it, you cannot copy a line out of it, and every tool that needs words sees an empty page. OCR is the step that changes that — when the scan is good enough.
By The iPlayPDF team7 min read
The bank sends a statement as a scan. A colleague forwards a contract that someone photographed. You scanned forty pages of notes last term and now need the one paragraph about the deadline. The pages are right there, perfectly readable by you, and completely opaque to the computer.
OCR PDF reads the pictures and writes what it finds into the file as invisible text, laid exactly over the words on the page. The document looks identical afterwards; what changes is that it can now be searched, copied, converted and read aloud. It runs in your browser, so the statement with your account number on it is not uploaded anywhere.
The steps
- Open OCR PDF and choose the scanned PDF — one file at a time, because recognition is the slowest thing this site does.
- Choose the document language. English, Hindi, English + Hindi together, Spanish, French, German, Arabic and Chinese (simplified) are offered; the choice matters more than people expect, and the next section says why.
- Choose the output: Searchable PDF keeps the pages exactly as they are and adds the invisible text, which is what you want nearly always. Plain text throws the pictures away and gives you only the words.
- Press OCR PDF and wait. The first run downloads the recognition engine and the language data, so give it a minute; after that it is quicker.
- Download the result — its name ends in -ocr — and try Ctrl+F for a word you can see on the page.
Your original file is untouched: you always get a new one, so a disappointing result costs nothing but the time it took.
What OCR actually changes
Inside a scanned PDF each page is one picture. OCR does not replace that picture, and it does not retype your document. It works out where every word sits and writes that word into the file at those coordinates, in a font that is never drawn.
So the page looks pixel-for-pixel the same as before — the same slightly grey paper, the same signature, the same stamp — and underneath it there is now a layer of text your software can use. Select a line and you select real words. Search and the hit is highlighted in the right place. A screen reader reads the page instead of announcing an image. The file grows a little, because the words are now stored as well as drawn.
Choosing the language is not a formality
A recognition engine does not read letter by letter in isolation; it leans on what words look like in the language it was told to expect. Give it the wrong one and the output degrades in a particular, maddening way: mostly right, with names and numbers quietly mangled.
- One language on the page — pick it. English for an English document, Hindi for a Devanagari one.
- Two languages mixed, as in most Indian paperwork — pick English + Hindi, which recognises both on the same page. It is slower than either alone, and far better than guessing.
- Numbers and codes, such as an account number or a GST number, are where a wrong language shows first. If those matter, check them by eye after the run.
What decides whether it works
This is the part no tool controls. OCR is only as good as the picture it is given, and the difference between a clean result and nonsense is almost always the scan.
| The scan | What you get | What to do |
|---|---|---|
| A proper scanner at 300 dpi, page flat and straight | What you getClose to perfect, including small print | What to doNothing — run it as it is. |
| A phone photo, taken from above, in good light | What you getGood: body text reads, the odd word in a heading drifts | What to doCrop to the page first; it helps more than any setting. |
| A photo at an angle, or of a curled page | What you getLines of nonsense mixed with real words | What to doTake the photo again, flat and square on. Scan to PDF will clean the contrast, but it cannot straighten a page. |
| A fax, a third-generation photocopy, tiny print | What you getPatchy — numbers and punctuation suffer most | What to doRescan at a higher resolution if you can; otherwise expect to correct it. |
| Handwriting | What you getVery little that is useful | What to doOCR here reads print, not handwriting. Type the few lines you need. |
Two more things that trip it up: heavy columns and tables, where the reading order can come out jumbled even when every word is right, and pages that are mostly stamps, logos and lines, where the engine finds text in the furniture.
What the words are for
Recognition is rarely the goal in itself. It is the step that unlocks everything else:
- Finding things. Ctrl+F across a forty-page scan, instead of scrolling it.
- Copying. Pull an address, a clause or a reference out without retyping it.
- Converting. PDF to Word and PDF to Excel work from text, so a scan goes through them only after OCR — before it, they have nothing to convert.
- Being read. Screen readers, and the read-aloud in our Android app, need text to speak.
- Being found. A scanned document on a website or in a document system is invisible to search until its words exist.
When OCR is the wrong answer
Three cases where people reach for it and should not.
The PDF already has text
Try to select a line with your mouse. If the words highlight, the text is already in there and OCR would only add a second, worse copy of it. Most PDFs made by exporting from Word, a browser or an accounting system are like this, even when they look like scans.
You only want the file to be smaller
OCR makes a file slightly larger, not smaller. If the problem is an upload limit, that is Compress PDF — and you can do both: OCR first, compress second, so the text survives.
You need a perfect, typed copy
Recognition on a good scan is accurate enough to search and quote from. It is not accurate enough to file somewhere official without reading it. For anything legal or financial, treat the output as a draft and check the figures against the picture — which is still right there on the page.
Checking the result
Open the new file and do three quick things. Search for a word you can see in the middle of a page — not a heading, which is the easiest case. Select a sentence and paste it somewhere to read what actually came out. And check one number: an amount, a date, an account. If those three are right, the rest of the document almost certainly is.
Questions people ask
- Is OCR free here?
- Yes. There is no account, no page limit and no watermark. The site is paid for by advertising.
- Is my scan uploaded to a server?
- No. The recognition runs in your browser on your own device. Your browser downloads the recognition engine and the language data once; your document never leaves the machine.
- Why is the first run so slow?
- Because the engine and the language data are being downloaded, and recognition itself is heavy work — a page of dense print takes seconds, not milliseconds. Later runs skip the download.
- Will the page look different afterwards?
- No. The original picture of the page is kept exactly as it was; the recognised words are added invisibly on top of it, which is why searching highlights the right place.
- Can it read handwriting?
- Not usefully. The engine reads printed and typed text. A handwritten note will produce very little worth keeping.
- Which languages can it read?
- English, Hindi, English and Hindi together, Spanish, French, German, Arabic and simplified Chinese. Choosing the right one matters: the wrong language quietly mangles names and numbers.
- Can I get just the text, without the pictures?
- Yes — choose Plain text instead of Searchable PDF and you get the recognised words on their own, which is handy for pasting into a document or a spreadsheet.