How to OCR a PDF
OCR turns pixels into a searchable text layer; it does not turn a bad scan into a good document. Check the confidence before trusting a number.
Cintia VidaLast updated
Key facts
- A scanned PDF contains page images with no text objects; OCR recognises words and writes them as an invisible layer at the same positions.
- The tool renders each page at 150, 200 or 300 dpi, processes at most 50 pages per run, and recognises English only.
- The first run downloads about 6.6 MB (3.8 MB Tesseract engine plus 2.8 MB English data); the browser caches it afterwards.
- OCR does not change the page image; it adds text underneath, so the scan still looks like the scan.
A scan is a photograph of paper. It can look sharp and still contain no text at all: Ctrl+F finds nothing, selecting a paragraph selects the whole page, and copying gives you an image. That is not a damaged PDF; it is what a scan is.
OCR — optical character recognition — adds a text layer on top of those pixels. The page keeps its appearance, but search, selection and copy start working.

A scan is an image. Nothing on this page can be searched or copied until OCR adds a text layer.
What the searchable PDF contains
The OCR tool renders each page at your chosen resolution, recognises the words, and writes them into a new PDF at the positions where they were found. The text is invisible; the original image sits on top.
That has three consequences worth understanding:
- The scan still looks identical. Nothing is re-typed or re-styled, and the page image is not re-compressed beyond the render used for recognition.
- Search is only as good as the recognition. A misread digit becomes a wrong search result, not a wrong-looking page.
- You also get a plain
.txtfile. Useful when the destination is a notes app or a spreadsheet, not a PDF.
The output is larger than the input because it now carries both the image and the text layer. On a clean one-page invoice the increase is small, typically tens of kilobytes.
Choosing a resolution
| Resolution | Small print | Speed | Use it for |
|---|---|---|---|
| 150 dpi | Weak | Fastest | Clean typed pages, quick searches |
| 200 dpi | Good | Balanced | Invoices, letters, most office paperwork |
| 300 dpi | Best | Slowest | Small footnotes, dense tables, poor scans |
Higher resolution is not automatically better. It gives the engine more pixels to work with, but it also takes longer per page and can amplify compression noise on a low-quality scan. 200 dpi is the sensible default; move up only when the text is small or the scan is marginal.
The tool processes at most 50 pages per run. That is a deliberate cap: recognition is CPU-bound, and a 300-page scan would occupy the tab for a long time. Split the document first and run the parts — the split tool can do that without uploading anything either.

The result reports pages, words and average confidence. 93% on a clean invoice is normal; treat a much lower number as a warning.
Reading the confidence number
The result panel gives an average confidence for the run. It is a useful signal, not a guarantee:
- 95% and above on a clean, typed page: search and copy will work well. Spot-check names and numbers anyway.
- 85–94%: expect occasional character errors, especially in reference numbers and totals.
- Below 85%: the scan is probably skewed, faint, handwritten or noisy. Re-scan if possible; if not, verify every number by eye.
OCR is weakest exactly where office documents matter most: tables, columns, stamps overlapping text, handwriting and checkboxes. It reads the characters, not the layout semantics. A recognised table comes back as words in reading order, not as a table — which is why PDF to Word rebuilds paragraphs rather than pretending to preserve a spreadsheet.
When not to use OCR
- The PDF already has text. A digital export from Word or a web form has a text layer; OCR would add a useless second one. Use PDF to text instead.
- You need an editable document, not a searchable scan. OCR first, then convert to Word — but expect to fix formatting.
- The page is a photo of a screen. Moiré and reflections confuse recognition. Re-scan or re-export.
- You need a certified copy. OCR changes the file. Keep the original untouched for any legal or audit purpose.
A workflow that holds up
- Check whether the PDF already has text: try to select a sentence. If it highlights word by word, stop — you do not need OCR.
- Crop or straighten the scan if it is badly skewed. OCR tolerates a little rotation, not 15 degrees.
- Run OCR at 200 dpi for ordinary paperwork, 300 for small print.
- Read the confidence, then search for two or three numbers you know are on the page.
- Keep the original scan and the searchable copy. The original is the evidence; the copy is the convenience.
Privacy
The page images are rendered in the tab and recognised by Tesseract in a Web Worker. The English model is downloaded on first use and cached by the browser; the document itself is never sent anywhere. Invoices, medical letters and ID scans stay on the machine you opened them on — which is the main reason to do this in a browser rather than a free online OCR service.
Questions this guide answers
Does OCR change how the scanned page looks?
No. The original page image is kept, and the recognised words are written underneath it with zero opacity. Search and copy read the text layer; your eyes see the scan. The file grows because it now contains both.
Why is OCR only in English?
Each language needs its own trained model. Bundling several would add tens of megabytes to a tool that already downloads 6.6 MB. The engine still reads Latin-script names and place names reasonably well, but the dictionary that corrects words is English.
How accurate is OCR on a phone photo of a document?
Good on a flat, evenly lit page; weaker on shadows, skew, folds and handwriting. The result panel shows average confidence — 95% on a clean invoice is normal, 70% means check every number against the image. Never trust a recognised total without comparing it.
Can I OCR a PDF that already has text?
Technically yes, but it adds a second text layer on top of the first and wastes time. For a digital PDF, use PDF to text instead. OCR is for scans, photos and faxes where no text layer exists.