Skip to content
PDF4US

How to OCR a scanned PDF and make it searchable

Published on · PDF4US Team

Recognize the text on scanned pages and add it as an invisible layer over the original image, so you can search, select and copy it. Recognition runs in your browser.

Use the tool: OCR

How to do it, step by step

  1. Load the scanned PDF. Choose a PDF of up to 30 MB and 50 pages. It can be an office scan or phone photos of documents saved as a PDF.
  2. Pick the document languages. Check English, Spanish or both (both are checked by default). If the document uses a single language, select only that one.
  3. Decide about pages that already have text. "Skip pages that already have text" is on by default: those pages are left as they are and only scanned pages are recognized.
  4. Run OCR. The first time, the recognition engine downloads from this same site. Then pages are processed one by one and you can follow the progress.
  5. Download the searchable PDF. The result downloads with an "-ocr" suffix and tells you how many pages were recognized and how many words the text layer contains.

Benefits

  • OCR without sending your scan

    Scans are often IDs, pay stubs, invoices or case files. The tesseract.js engine runs inside your browser, so the pages never leave your device.

  • The original page is untouched

    Recognized text sits in an invisible layer over the image. What you see is exactly the original scan; what you gain is search and copy.

  • Leaves real text alone

    In mixed documents, pages that already have digital text are kept as they are, so text is not duplicated and nothing loses quality.

  • Free, no account

    No sign-up and no usage quota: the limits are per file size, not how many times you use it.

What PDF4US OCR actually does

Each page that needs OCR is rendered as an image at roughly 216 dpi, which is enough for normal body text. tesseract.js recognizes the words and their positions, and the output PDF keeps your page exactly as it was, with the text placed invisibly on top in the same spot.

So when you press Ctrl+F, your viewer highlights the word right on the scan, and when you select a paragraph you can copy it. The file still looks exactly like the original.

The two options, explained

The tool has just two settings, both shown before you process the file:

  • Document languages: English, Spanish or both. At least one must stay checked. Choosing only the actual language of the text usually improves recognition.
  • Skip pages that already have text: on by default. Turn it off to also recognize pages with digital text, which is useful if that text is garbled.

After OCR

With a text layer in place, you can extract the content with PDF to Text, compare two scanned versions with Compare PDF, or search inside the document in the editor.

Privacy: what leaves your browser

Recognition runs in a browser worker with tesseract.js; your PDF is not uploaded to any server.

The engine and language data are downloaded from pdf4us.com itself, not from third-party services.

The site's security policy blocks the page from sending data to other origins.

Read the full privacy policy

Limits worth knowing

  • One file of up to 30 MB and 50 pages per run.
  • Available languages: English and Spanish. The result keeps the original page and adds an invisible text layer.
  • In the browser, OCR is slower than on a server, and it downloads about 17 MB of engine and language data from this site once.
  • Quality depends on the scan: skewed, blurry or low-resolution pages and handwriting give weaker results.
  • OCR does not turn the PDF into an editable Word document: it adds searchable text without changing the layout.

Frequently asked questions

Does OCR run on my computer or on a server?

In your browser. The tesseract.js engine downloads from this site and processes the pages on your device; the PDF is never uploaded.

Which languages does it recognize?

English and Spanish. Check one or both depending on the language of your document.

Why is it slow the first time?

It downloads about 17 MB of engine and language data once. On top of that, recognizing text in the browser is slower than on a server, especially on modest hardware or with many pages.

Will my PDF look different?

No. The original page is kept and the recognized text is added as an invisible layer on top.

Can I edit the text after OCR?

You can search, select and copy it. OCR does not convert the scan into a Word document, and PDF4US does not offer PDF to Word conversion.

What happens to pages that already had text?

With the default setting they are left as they are, and only scanned pages are recognized. You can turn the option off to recognize every page.

What is the maximum file size?

Up to 30 MB and 50 pages per file. If your document is larger, split it first and run OCR on each part.

Use the tool: OCR