You open a PDF, press Ctrl+F (or Cmd+F on a Mac) to find a name, and nothing comes up, even though you can see the name on the page. Or you try to copy a paragraph and the whole page highlights as a single block. That PDF is almost certainly a scan. Each page is a photograph of paper, and as far as the computer is concerned, there are no words in it at all.
OCR, short for optical character recognition, fixes that. It reads the letters in the image and adds them to the PDF as real text. Here is how it works and how to get a result you can rely on.
How to tell if a PDF is scanned
- Search test. Search for a word you can clearly see. If it isn’t found, the page probably has no text inside.
- Select test. Try to select one line. In a scan, you either can’t select anything or you select the whole page as a picture.
- Zoom test. Zoom in a long way. Real text stays sharp; scanned text turns soft or blocky.
Pyrbit’s PDF to Text tool also tells you when a PDF is a scan with no text, and offers to open it in OCR.
Typical scanned PDFs include certificates and mark sheets scanned at a shop, ration cards, old typed letters, photos of notices and textbook pages captured with a phone.
Some PDFs are mixed: pages typed on a computer with a few scanned pages added, such as a signed annexure or a photocopied certificate at the end. Run the search test on a page from each part. Only the scanned pages need OCR.
What OCR does, and what a searchable PDF is
OCR software looks at the shapes on the page, works out which letters and words they are, and gives you that text. You can use the result in two ways:
- As plain text that you paste into an email, a document or a translation tool.
- As a searchable PDF. The page still looks exactly like the original scan, but the recognised words are placed invisibly behind the image. Any PDF reader can then search, select and copy the text.
A searchable PDF is usually what you want for records, because you keep the original appearance, including stamps, signatures and photos, and gain the ability to search. It doesn’t make the scan editable like a Word file. For that, you convert the searchable PDF afterwards.
Get the scan right first
OCR can only read what it can see. A few minutes of preparation make more difference than any setting:
- Use enough resolution. Around 300 dpi is a common choice for scanning documents. Very low-resolution scans lose the fine detail that separates similar letters.
- Light the page evenly. With a phone, use daylight, keep your shadow off the paper and hold the camera straight above it. Scan to PDF turns your phone or laptop camera into a scanner and saves all the pages as one PDF.
- Turn pages upright. Fix sideways pages with Rotate PDF before running OCR.
- Trim dark borders. Remove dark scanner edges with Crop PDF. Upright pages with clean edges are read noticeably better.
- Keep faint writing visible. Strong black-and-white filters can wash out pencil, light blue ink and coloured stamps. Scan those in Grayscale or Original.
For more on capturing clean pages, see our guide on scanning documents with your phone.
How to make a scanned PDF searchable with Pyrbit PDF
OCR PDF runs in your browser at pdf.pyrbit.com. Recognition happens on your device, and the pages are never uploaded to an OCR service, which matters for ID documents and certificates. Sign in with a Google account: your first document is free, then one free document every 24 hours.
- Choose the scanned PDF, or a photo of a document.
- Pick the language: English, Hindi, or English + Hindi.
- Leave “Make a searchable PDF” on to keep the page image and add the text behind it. Turn it off if you only need the words.
- Run it and save. The recognised text is copied to your clipboard, the searchable PDF is ready to save, and a Save Text button gives you a plain .txt copy as well.
- Test the result. Open the new PDF and search for a few words, including a name and a number.
The free Pyrbit PDF apps include OCR too, with offline use and no file-size limit. The apps can also export OCR results as Word, Markdown, CSV and JSON, and the Android app recognises more scripts.
Choosing the right language
OCR reads far better when it knows which script to expect. If only one language is selected, words in the other script usually come out garbled or are skipped.
| Document | Language to choose |
|---|---|
| English letters, statements and certificates | English |
| Hindi notices, letters and forms | Hindi |
| Bilingual forms, such as those with headings in both languages | English + Hindi |
| An older Hindi PDF whose text copies out garbled | Hindi, so the page is read as it looks |
After OCR: search, copy, convert and compress
Once a scan is searchable, other tools can work with its text:
- Save the text with PDF to Text, which writes a UTF-8 .txt file, so Hindi is kept.
- Make it editable with PDF to Word. Expect to tidy the layout of a scanned page.
- Compare two versions of a document with Compare PDF.
- Shrink it for an upload with Compress PDF. Choose Smart mode, which keeps text. Very small target sizes redraw pages as pictures, and the text can then no longer be selected or searched, which undoes the OCR.
How accurate is OCR, and what to check
On a clear, straight, well-lit scan of printed text, OCR gets most words right. It struggles with handwriting, stamps, very small print, blurry photos and text printed over patterned backgrounds, which many certificates have.
- Proofread names, numbers and dates before you rely on them. A 0 read as O, or a 1 read as l, is easy to miss and matters on a roll or account number.
- Search may miss a few words. In Pyrbit’s OCR, words the engine is unsure about are left out of the invisible text layer. If something important isn’t found, look for it by eye.
- The scan stays the record. The page image is unchanged, so the original is always there to check against.
Common mistakes
- Running OCR on a PDF that already has text. If you can select words, use PDF to Text or PDF to Word directly.
- Choosing one language for a document that mixes English and Hindi.
- Running OCR on sideways or skewed pages instead of fixing them first.
- Compressing to a tiny target size afterwards and losing the text layer.
- Treating OCR output as an exact copy for official use without checking it against the original.