DocSample

Guides6 min read

Scanned PDF or Digital PDF? A Plain-English Guide to OCR

If you cannot highlight the words, your PDF is really a photograph. Here is how OCR turns pictures of text back into searchable words.

By DocSample · 15 October 2026 · Updated 8 November 2026 · 6 min read

Guide cover: scanned PDF versus digital PDF and how OCR works with DocSample
On this page

Two PDFs can look identical on screen and be completely different inside. One contains real words that you can search, copy and convert. The other is a photograph of a page wrapped in a PDF file. Knowing which one you have explains a lot of everyday frustration: why search finds nothing, why PDF to Word gives you a blank document, and why a screen reader stays silent.

The thirty-second test

Open the PDF and try these three things:

  1. Select text. Drag across a sentence. If individual words highlight, there is a text layer.
  2. Search. Press Ctrl+F (Cmd+F on a Mac) and search for a word you can see on the page. No results usually means no text.
  3. Zoom in a lot. Digital text stays razor-sharp at 400%. Scanned text turns fuzzy or pixelated, and you may see paper texture or a slight tilt.

If all three point to "picture", you have a scanned PDF.

Where each kind comes from

Digital (born-digital) PDFs are created by software: exporting from Word, saving an invoice from accounting software, downloading a bank statement from online banking, or "Print to PDF" from a browser. The letters are stored as text with font information.

Scanned PDFs come from a scanner, a photocopier's scan-to-email button, a phone scanning app, or photos turned into a PDF. Each page is an image. Some scanners run OCR automatically and add an invisible text layer, which creates a third kind: a scanned PDF that is searchable.

What OCR actually does

OCR (optical character recognition) looks at the shapes in an image and works out which letters they are. The output is text: something you can copy, search, edit or save. It does not change the picture of the page; it adds words alongside it or gives them to you separately.

OCR is very good on clean, printed documents and struggles with:

  • Handwriting, especially joined-up writing
  • Very small print, below about 8 point in the original
  • Blurry, tilted or low-contrast photos
  • Stamps, signatures and text over patterned backgrounds
  • Unusual fonts and decorative headings

Running OCR in DocSample

The OCR PDF tool runs entirely in your browser:

  1. Add a scanned PDF or a photo of a document.
  2. Choose the language that matches the page. English, Nepali (Devanagari) and English + Nepali together are available, among others. Mixed forms with English labels and Nepali names read best on the combined setting.
  3. Pick an engine. Auto is a sensible default: it uses Accurate for English and Nepali and Classic for other languages. Accurate (PaddleOCR) copes much better with phone photos and tilted scans. Classic (Tesseract) supports a few more languages, such as Arabic, and can do slightly better on very clean, straight printouts.
  4. Run OCR and watch the progress page by page.
  5. Copy the recognised text, download it as a TXT file, or download a searchable PDF.

The first run downloads the recognition files (about 16 MB for the Accurate engine), so expect a short wait the first time. OCR is processor-heavy, so work in batches of up to 20 pages.

TXT or searchable PDF?

  • Choose TXT when you need the words themselves: pasting into an email, a spreadsheet or a translation tool.
  • Choose searchable PDF when the page appearance matters: archiving, sharing with someone who needs to find a clause, or keeping a record you can search later.

Either way, read the result. OCR makes confident-looking mistakes: "1" for "l", "0" for "O", "rn" for "m". In names, dates, amounts and ID numbers, check every character against the original.

Real examples

  • A land document or citizenship certificate in Nepali: use the Nepali or English + Nepali setting with the Accurate engine, then compare names and numbers carefully. OCR helps you search and copy; it is never a substitute for the original document.
  • A scanned contract you need to quote from: produce a searchable PDF, then search for the clause instead of reading 30 pages.
  • Old typed reports in a filing cabinet: scan at 300 DPI in greyscale, run OCR, and save searchable PDFs so the archive becomes findable.
  • A photo of a printed notice: OCR to TXT and paste the text into a message so people on small screens can read it.

Getting better OCR results

The scan matters more than the software:

  • Scan at 300 DPI for small print; 200 DPI is fine for normal text.
  • Keep pages straight. A tilt of a few degrees noticeably increases errors.
  • Use greyscale rather than black-and-white "line art" mode, which can break thin letter strokes.
  • Crop away dark edges and fingers before running OCR.
  • For phone photos, follow the tips in our guide on turning phone photos into a clean PDF.

What to do after OCR

After OCR, choose Searchable PDF if you want a PDF with a recognised text layer; TXT gives you the words separately. Check the extracted reading order before using PDF to Word for editing; our PDF to Word guide explains which mode to pick. You can search it, quote from it, or paste figures into a spreadsheet.

Troubleshooting

The recognised text is gibberish. The wrong language was selected, or the page is upside down. Rotate the page and choose the correct language.

Only part of the page was read. Low contrast or a coloured background can hide text. Try the Accurate engine, or rescan in greyscale with better lighting.

It is very slow. Long PDFs and the Accurate engine take time on phones. Split the document with Organize PDF and process 10–20 pages at a time.

Handwriting is not recognised. OCR engines are built for printed text. Neat block capitals may partly work; cursive generally will not.

Scanned PDF and OCR questions

How can I tell if a PDF is scanned?

Try selecting or searching for a word. If nothing highlights or search finds no matches, and the text looks fuzzy when zoomed in, the page is an image, which means it was scanned or photographed.

Does OCR change my original PDF?

No. DocSample creates new output (TXT or a searchable PDF) and leaves your original file unchanged.

Can OCR read Nepali text?

Yes. Choose Nepali or English + Nepali. Accuracy depends on print quality, so check names and numbers against the original. It is a helpful copy for searching and reusing text, but it can misread characters. Always rely on the original document for anything official.

Is my scan uploaded for OCR?

No. Recognition runs inside your browser and the file stays on your device.
ShareXWhatsAppLinkedIn

Tags: ocr, scanned pdf

Keep reading

Back to blog