Skip to main content

How to Make a Scanned PDF Searchable (Free OCR, No Upload)

Turn pictures of pages into text you can search, select and copy, with OCR that runs in your browser.

By Martin Hostnik Updated 2 min read

Use OCR PDF Recognize text in scanned PDFs so you can search, select and copy it. Free, and your file never leaves your device.

A scanned PDF is a set of photographs of paper. You can read it, but your computer cannot: you cannot search it, select a sentence or copy a number out of it. OCR, short for optical character recognition, fixes that by recognising the letters in the images. Here is how to do it for free, without uploading scans of your documents to an OCR service.

Does your PDF need OCR?

Open the PDF and try to select a word with the mouse, or press Ctrl+F (Cmd+F on a Mac) and search for a word you can see. If nothing can be selected or found, the page is an image and needs OCR. Phone scanning apps, office copiers and "print to PDF" from a photo all produce this kind of file.

How to make a scanned PDF searchable

  1. Open OCR PDF and drop the scan into the box.
  2. Choose the language of the document. For a document that mixes two, such as English and German, choose a second language.
  3. Choose Searchable PDF to keep the document and add text to it, or Plain text to get a .txt file. Optionally limit the pages.
  4. Click Recognize Text, check the recognised text in the preview, then save the result.

The searchable PDF looks exactly like the original. An invisible text layer is placed over each page, so you can search, select and copy, and the file grows by only a few kilobytes per page.

OCR runs with Tesseract, a widely used open-source engine, inside your browser. The engine and the language data (about 5 to 7 MB) load from TrustPDF the first time and are then cached. Expect roughly 2 to 5 seconds per page on a laptop, longer on a phone.

Getting the best accuracy

  • Scan at 300 DPI. 200 DPI is usually fine; below 150 DPI accuracy drops quickly.
  • Keep pages straight. Rotate sideways pages first with Rotate PDF Pages.
  • Choose the right language. It matters for letters such as č, ß or é.
  • Good contrast helps. Faded copies, coloured backgrounds and shadows from phone photos lower accuracy.
  • Printed text only. Handwriting is usually not recognised.

On a clean scan of printed text, accuracy is usually above 98%, which still means a few mistakes per page. Check names and numbers before you rely on them.

What you can do next

  • Edit the text in Word: convert the searchable PDF with PDF to Word.
  • Get just the words: PDF to Text saves them as a .txt file.
  • Make the file smaller first with Compress PDF, then run OCR on the compressed file.

Why OCR in your browser?

The documents people scan are often the most private ones: IDs, letters from the tax office, medical reports, old contracts. Online OCR services need you to upload them. With TrustPDF the recognition happens on your own device, so the scan never leaves it.

Frequently asked questions

How do I know if my PDF needs OCR?

Try to select a word or press Ctrl+F (Cmd+F on a Mac) and search for one. If you cannot select or find text you can see, the page is an image and needs OCR.

Does OCR change how the PDF looks?

No. TrustPDF keeps the original page images and adds an invisible text layer on top, so the document looks exactly the same.

Can OCR read handwriting?

Not reliably. OCR engines like Tesseract are made for printed text; handwriting usually comes out wrong or not at all.

Tools in this guide