Make a PDF searchable (OCR)
A scanned PDF is a stack of pictures: Ctrl+F finds nothing and nothing can be copied. This tool reads every page with OCR and lays the words over it as invisible text, so the same pages become searchable and selectable.
Tip: your phone's file picker also lists Dropbox and Google Drive when their apps are installed.
Your pages stay exactly as they were
Many “OCR PDF” tools rebuild the document: every page is turned into a new image, recompressed, and the original is thrown away. This one doesn’t. It keeps the pages of the file you picked as they are, copying their images over without recompressing them, and only adds a text layer on top of each scanned page. The scan keeps its resolution and colors, the bookmarks and links stay, and the file grows by a few kilobytes per page instead of doubling.
- Each page you choose gets invisible, selectable text at the position of every word in the scan.
- A digital signature on the PDF no longer validates, because the file was changed after signing.
- How every page looks and prints, its images and their quality.
- Page order, size and rotation; bookmarks, links and form fields.
- Pages you leave out, and pages that already had real text.
One scanned report, measured
To see what to expect, we scanned-and-roughened a 10-page set of meeting minutes ourselves: A4 pages stored as 200 dpi JPEG pictures, slightly crooked, with paper grain, 3.1 MB in all. We made it searchable at each reading resolution in Chrome on a desktop PC, then pulled the text back out with an independent PDF reader (pdf.js) and compared it with the words we had typed.
| Reading resolution | Time for 10 pages | Words found, in order | File size |
|---|---|---|---|
| 200 dpi | 19.5 s | 2,415 of 2,415 | 3.11 → 3.16 MB |
| 300 dpi (default) | 23.3 s | 2,415 of 2,415 | 3.11 → 3.16 MB |
| 400 dpi | 38.4 s | 2,415 of 2,415 | 3.11 → 3.16 MB |
Searching the result for “Station Road”, “Mill Lane” or “2,450” found every page where the phrase occurs. A shorter Korean test, one scanned page and one phone photo of a page, came out at 96% and 95% of characters correct and took 6.8 seconds for both pages; Korean is read twice per page (see the questions below), so it takes longer than English.
- Higher is not always better. Clean, normal-sized print gained nothing from 400 dpi and took 65% longer. Choose it for small print such as footnotes, contracts or tiny tables.
- 200 dpi saved a sixth of the time here, because small text is enlarged before reading anyway. It suits large, clear print.
- Phones are slower than the desktop figures above; we have not timed them, so start with a few pages to get a feel for it.
Read here, not on a server
Scanned contracts, payslips, patient letters and old family papers are exactly the documents you would rather not upload. pdf.js draws each page in this tab, Tesseract reads it in a background worker, and the finished PDF is assembled in memory and handed straight to your downloads.
How the hidden text layer works
Every recognized word is written into the page as real PDF text, in the PDF’s “invisible” rendering mode: viewers neither paint nor print it, but they search it, select it and copy it. Each word is stretched to cover the word in the scan, so a highlight from Ctrl+F or a mouse selection lands on the right spot, also on pages turned sideways or scanned crooked.
- The font has no shapes. The text uses the tiny glyph-less font that Tesseract’s own PDF output uses, with a Unicode map, so Korean, Chinese, Arabic or Hindi text is searchable without embedding megabytes of real fonts.
- Spaces follow the scan. Tesseract hands back Korean and Chinese text in syllable-sized pieces; they are joined where the scan shows no gap, so a search for a whole word finds it.
- It is not editable text. The layer exists for finding and copying. To change the wording, copy it out or use the downloadable .txt, which holds the text of every page read.
- Mistakes are invisible too. A misread word looks fine on the page but will not be found by searching. The result lists the pages the engine found hard to read, so you know which to check.
Mixed documents, long documents
Many PDFs are part typed, part scanned: a report with a signed page scanned in, or an email printout with an attached letter. With “Leave pages that already have text as they are” on (the default), a page whose own text layer holds 20 or more characters is skipped, so its real text is never doubled by a recognized copy. Untick it only if a page’s existing text is garbage, as happens with some old scanners.
Pages are drawn and read one at a time; only the words and their positions are kept, so a 100-page scan never sits in memory as 100 pictures. On phones and devices with 4 GB of memory or less, a page is drawn at no more than 9 megapixels, enough for A4 at 300 dpi; larger pages are read at a lower resolution and the result says so. Cancel stops the reading at once; the finished PDF only appears when the last page is done.
A PDF that needs a password to open, or that forbids changes, cannot be made searchable here: remove the protection in your PDF reader first and pick the unprotected copy.
Searchable PDF questions
Will the pages look any different?
No. The original pages are not redrawn or recompressed; the text layer is invisible on screen and in print. The only visible difference is that you can now select text on the scanned pages.
Which languages can it read?
Twenty, among them English, Korean, Japanese, Chinese (Simplified and Traditional), Spanish, French, German, Portuguese, Russian, Hindi and Arabic. Pick the language of the document. For Korean, Japanese, Chinese and other non-Latin scripts you can also read English words, which helps with names, brands and addresses.
Why does a search miss a word I can see on the page?
The engine misread it, usually because the scan is blurred, very small or stained there, or the word is handwritten or in a decorative font. Try 400 dpi for small print, and check the pages the result reports as hard to read. Handwriting is rarely recognized well.
Why does Korean or Japanese take longer than English?
For those scripts each page is read twice, once as a whole page and once as one block, because automatic layout analysis sometimes cut a line short or skipped a paragraph in our Korean tests. With English words added, the main language and the English reading are also compared word by word. In our tests this raised Korean accuracy from 77% to 96% on a scanned page.
Can I edit the text afterwards?
Not in place: the text layer is for searching and copying. Download the text as a .txt file, or copy it from the PDF, and edit it in any word processor.
Is the PDF uploaded?
No. The PDF is opened, read and rewritten in your browser. The only downloads are the recognition engine from this site and, once per language, its data from the jsDelivr CDN; the document itself never leaves your device.
Related tools
- Image to textFor a single photo or screenshot: get the text to copy, no PDF needed.
- Compress PDFScans are large. Shrink the PDF first; the text layer adds only a little.
- Organize PDFTurn sideways scanned pages upright and drop blank ones before reading them.
- Merge PDFScanned the document in parts? Join the files, then make the whole thing searchable.
- Scan a documentNo scanner? Turn phone photos of the pages into a flat multi-page PDF first.
Looking for something else? Browse every Photoyam tool.