How OCR works and how to make a scanned PDF searchable
What OCR actually does, which scan settings improve accuracy, and which limitations you should expect from Tesseract-based recognition. · 6 min read · Updated 2025-01-14
Maintained by the CB PDF Tools team. It describes how these tools behave today, including known limitations.
A scan is a picture, not text
When a paper document is scanned, the result is usually an image wrapped in a PDF. You can see the page, but there is no text layer to select, search or copy. OCR (optical character recognition) analyses the image, guesses which shapes are letters, and writes a text layer behind the image. A searchable PDF keeps the original appearance and adds invisible, selectable text.
OCR is probabilistic. Accuracy depends on resolution, contrast, skew, font, language and layout. Always review numbers, names and dates in critical documents.
Scan settings that make a real difference
Use 300 DPI for normal printed text; 400 DPI helps with small footnotes, and lower resolution hurts accuracy. Scan straight: a few degrees of skew can double the error rate. Use greyscale or colour rather than high-contrast black and white for faint text, and avoid heavy JPEG artefacts.
Tell the OCR engine the correct language. English text recognised with a Hindi model, or a mixed-language page recognised with a single-language model, will produce avoidable errors. Multiple installed language packs can be combined, at the cost of speed.
What OCR cannot do
Handwriting recognition is much less reliable than printed text and should not be treated as a faithful transcription. Complex tables, multi-column layouts and mathematical notation often lose their structure even when individual words are recognised. Decorative fonts, stamps over text and watermarks reduce accuracy.
OCR does not repair a bad scan, remove noise or correct perspective on its own. If the source is poor, improve the scan first. For legal or medical records, keep the original scan alongside the searchable version.