Search 85 tools...

Ctrl K
Guides
5 min read
•
Published October 3, 2026
(Updated: October 16, 2026)

How to Make Scanned PDFs Searchable with Optical Character Recognition (OCR)

Can’t search or copy the text in a scanned PDF? OCR reads the page images and adds an invisible text layer, so the pages look the same but the text becomes searchable.

DocsEngine Editorial Team
Last reviewed October 16, 2026
Illustration of a scanned page with one line highlighted by a text selection and a magnifier showing the word InvoiceOCR makes the text in a scanned PDF searchable and selectable.

Key Takeaways & Executive Summary

  • OCR PDF reads scanned pages with the open-source Tesseract engine and adds an invisible text layer, so you can search, select and copy the text.

  • The page images are not changed, and pages that already have real text are skipped by default.

  • Pick one of 48 document languages, plus an optional second language for mixed documents.

  • The OCR engine and language data are downloaded once and cached; the PDF itself never leaves your device.

  • Results depend on the scan: straight, sharp, high-contrast scans of printed text work best, and handwriting is not supported.

Table of Contents

    How to make a scanned PDF searchable (quick answer)

    Step-by-step: add a text layer with OCR

    What OCR adds to a scanned page

    Which pages get recognized

    Choosing the language

    Getting better results from your scans

    Limitations and what to use instead

    Privacy: OCR runs on your device

    Frequently Asked Questions

    Sources

    How to make a scanned PDF searchable (quick answer)

    Step-by-step: add a text layer with OCR

    What OCR adds to a scanned page

    Which pages get recognized

    Choosing the language

    Getting better results from your scans

    Limitations and what to use instead

    Privacy: OCR runs on your device

    Frequently Asked Questions

    Sources

How to make a scanned PDF searchable (quick answer)

Open OCR PDF, add the scanned PDF, choose the document’s language and click Apply OCR. The tool recognizes the text on each scanned page and adds it as an invisible layer on top of the page image, so you can search it with Ctrl+F, select it and copy it.

The pages look the same as before, because the original images are not touched. Everything runs in your browser, and the PDF is not uploaded.

Step-by-step: add a text layer with OCR

The first run needs an internet connection to download the OCR engine and the language data.

  1. Open the OCR PDF tool and add your scanned PDF, or up to 15 at once.
  2. Choose the Document language. English is the default.
  3. If the document mixes two languages, pick one under Second language (optional); otherwise leave it at None.
  4. Leave Skip pages that already have text on, so pages with real text are left untouched.
  5. Click Apply OCR. Pages are rendered and recognized one after another, which takes a while for long documents.
  6. Download the result, named like report_ocr.pdf, and test it by searching for a word you can see on a page.

What OCR adds to a scanned page

A scanned PDF is a set of page pictures. Your PDF viewer shows the letters, but there is no text behind them, so search finds nothing and you can’t select a line.

OCR PDF renders each scanned page at 300 DPI on a computer (200 DPI on a phone) and passes it to Tesseract, an open-source OCR engine that has used an LSTM neural network since version 4. In the browser it runs through tesseract.js, which wraps a WebAssembly port of Tesseract.

The recognized words are written as invisible text over the matching spots on the original page image. The image itself is not modified, so stamps, signatures and handwritten notes stay visible as scanned, while the text layer makes the page searchable and copyable. The file usually grows slightly.

Two offset sheets: the original page image, unchanged, and an invisible text layer drawn with a dashed outline, leading to a searchable PDF
OCR adds an invisible text layer and leaves the page image unchanged. Pages that already contain text are skipped.

Which pages get recognized

With Skip pages that already have text on (the default), OCR PDF checks every page first. Pages with no text are recognized. So are pages with fewer than 200 characters of text where an image covers at least half the page, such as a scan with a page number stamped on later. All other pages are left as they are.

If every page already has text, you get the original PDF back unchanged. Turn the switch off and every page is recognized.

Choosing the language

Tesseract uses separate trained data for each language, so pick the language the document is written in. Document language offers 48 languages, including Hindi and other major Indian languages, Chinese (Simplified and Traditional), Japanese, Korean, Arabic, Hebrew, Persian, Urdu and Latin.

Use Second language (optional) for documents that mix two languages, such as English with Hindi. More than two languages in one run is not possible.

Getting better results from your scans

OCR can only read what the scan shows clearly. The Tesseract guide to improving output quality gives several practical tips:

  • Scan at 300 DPI or more. Tesseract works best on images of at least 300 DPI.
  • Keep pages straight. Line detection gets much worse on skewed pages, and OCR PDF does not straighten or auto-rotate them, so rescan crooked pages and fix sideways ones first; see how to rotate PDF pages.
  • Aim for even lighting and good contrast. A page background of uneven darkness makes it harder to separate text from paper.
  • Avoid noise and dark borders. Speckles make text harder to read, and dark scan borders can be picked up as extra characters.

Limitations and what to use instead

OCR PDF adds a text layer and nothing else. Know these limits before you rely on the result:

  • Recognition mistakes happen, especially with small, faded or unusual type, so check names, numbers and amounts that matter.
  • It is meant for printed and typed text; handwriting is not supported.
  • There is no straightening, auto-rotation, image cleanup or page range.
  • The output is a searchable PDF only. For a text file, run the result through PDF to Text; for an editable document, use PDF to Word.
  • Each run takes up to 15 PDFs and 200 MB in total on desktop, or 60 MB on a phone. Above that, the page offers our server instead and uploads nothing unless you agree.
  • A PDF that needs a password to open must be unlocked first, or the password entered when the page asks for it.

Privacy: OCR runs on your device

Rendering, recognition and writing the new PDF all happen in your browser.

Your PDF stays on your device

OCR PDF runs in your browser; your PDF never leaves your device. On first use, the page downloads the OCR engine and the language data you picked (from the jsDelivr CDN), and your browser caches them for later runs. Only that code and data are downloaded; your document is not sent anywhere. If a file is too large for your device, the page offers our server instead and uploads only if you click Use secure server. Server uploads go over HTTPS; the uploaded file is deleted as soon as processing finishes, and the result right after you download it, or 10 minutes after processing if you never download it.

RUNS IN YOUR BROWSER
Make a scanned PDF searchable

Add an invisible text layer with OCR in 48 languages. Runs in your browser, so your PDF stays on your device.

Frequently Asked Questions

No. The original page images are kept as they are; OCR only adds an invisible text layer on top. The file usually gets slightly bigger.

Yes. You can search, select and copy the recognized text in your PDF viewer. To get all of it as a .txt file, run the OCR result through PDF to Text.

Yes. The first run downloads the OCR engine and the language data, which your browser then caches for later runs. Your PDF itself is never uploaded.

No. OCR PDF is meant for printed and typed text. Handwritten notes stay visible in the page image, but don’t expect them to become searchable.

If every page already has selectable text, OCR PDF returns the original file unchanged. Pages with real text are skipped while Skip pages that already have text is on.

It depends on the scan. Clean, straight scans of printed text at 300 DPI give the best results, while blurry, skewed or low-contrast scans produce more mistakes, so check the text that matters.

Sources

  1. Tesseract OCR documentation (Tesseract OCR)
  2. Tesseract: Improving the quality of the output (Tesseract OCR)
  3. Tesseract.js (GitHub)
TAGS:
#ocr pdf
#make pdf searchable
#searchable pdf
#scanned pdf to searchable pdf
#ocr scanned pdf online free
#recognize text in pdf
#copy text from scanned pdf
Table of Contents

    How to make a scanned PDF searchable (quick answer)

    Step-by-step: add a text layer with OCR

    What OCR adds to a scanned page

    Which pages get recognized

    Choosing the language

    Getting better results from your scans

    Limitations and what to use instead

    Privacy: OCR runs on your device

    Frequently Asked Questions

    Sources

    How to make a scanned PDF searchable (quick answer)

    Step-by-step: add a text layer with OCR

    What OCR adds to a scanned page

    Which pages get recognized

    Choosing the language

    Getting better results from your scans

    Limitations and what to use instead

    Privacy: OCR runs on your device

    Frequently Asked Questions

    Sources

FEATURED UTILITY
OCR PDF

Free, no sign-up. Runs in your browser, so your files never leave your device.

Share this guide