Searchable PDF checker and free OCR guide
Updated · By Best Free AI
A searchable PDF contains text your reader can find or copy. A scan may look identical while storing each page as a picture. Check the pages you need, then use optical character recognition (OCR) to add text where the scan has only pixels.
Check which pages contain text
Choose a PDF or try one of our field notes. The checker reads the existing text on each page in your browser. You can copy a passage or download the extracted text. A page with a readable header can still contain an image of a table or letter that needs OCR.
Try the same two pages before and after OCR
In our fictional field notebook, page 1 has selectable type. Page 2 is a 240 dpi image. Both look like printed records. Search for “Alder Creek” and “Juniper Basin” in each PDF, then compare the station code and water depth with the page image.
Download the original PDF · Download the searchable PDF
| Field record | Before OCR | After OCR |
|---|---|---|
| Page 1 · Alder Creek | Alder Creek and AC-215 | Alder Creek and AC-215 |
| Page 2 · Juniper Basin | No extractable text | Juniper Basin, JB-704 and 18.6 cm |
We ran OCRmyPDF 17.13.0 with Tesseract 5.5.4. The search found the station and the measurement after OCR. The small header fared worse: “Best Free AI” came back as “Best Free Al,” with a lowercase L. Check names, figures and quotations against the page image before reusing them.
Make a scanned PDF searchable for free
In the free desktop app NAPS2, enable OCR, download the language used in your scan and check “Make PDFs searchable using OCR.” Import the PDF and save it under a new name. NAPS2 applies recognition to imported pages that lack text and keeps pages that already contain it. Open the saved file and search for a distinctive word on the scanned page.
If you already use Acrobat with Scan & OCR, open that tool, choose Recognize Text in this file, set the page range and language, then run it and save a copy. A viewer can search a PDF that already contains text. Creating that text layer requires OCR.
Keep existing text on a mixed PDF
For the command-line method, install OCRmyPDF with its OCR dependencies and the language data for your scan. Our example uses English. Run this command in the directory containing field-notes.pdf and choose a new output filename for your own document.
ocrmypdf -l eng --mode skip --output-type pdf --optimize 0 --sidecar ocr-only.txt field-notes.pdf searchable.pdfThe skip option works page by page. In our test, ocr-only.txt contained the newly recognized Juniper Basin page and a skip notice for page 1. For a transcript of both pages, open the finished PDF in the checker above and download its text, or run the Poppler command below.
pdftotext -layout searchable.pdf full-text.txtA typed heading can hide a missed scan on the same page. We put a selectable heading above the Juniper Basin image. With --mode skip, the heading was the only text we could extract. Running the original through --mode redo kept the heading and recovered JB-704. Try redo on a working copy and check a word inside the image.
Start from a PNG or JPG scan
OCRmyPDF also accepts a single image. For our 240 dpi PNG, this command created a PDF in which both Juniper Basin and JB-704 could be found. Use your scan’s actual resolution when specifying DPI. Increasing the DPI setting cannot restore letters missing from a blurry original.
ocrmypdf -l eng --image-dpi 240 --output-type pdf field-scan.png scan-only.pdfCheck the result before quoting it
- Search for a distinctive word on more than one page. A successful match in a typed cover sheet tells you little about the scanned pages behind it.
- Copy the line that contains the value you need. In a table or a two-column article, compare the reading order with the original before pasting the text into notes.
- Choose the recognition language that matches the document. Rotate sideways pages, or start with a clearer scan when small characters run together.
Sources
Official references · 6
- OCR settings and imported documents · NAPS2
- Install OCRmyPDF · OCRmyPDF
- OCR modes, images and sidecar output · OCRmyPDF
- Redoing OCR on pages with existing text · OCRmyPDF
- Recognize text in a scanned PDF · Adobe
- PDF.js browser document API · Mozilla