OCR PDF
Make a scanned PDF searchable by adding an invisible text layer to the original pages, or pull the recognised text out as a .txt file, all on your own device.
Upload
Select or drag-and-drop your file.
Adjust
Choose your options. Everything happens in your browser.
Download
Save the finished file instantly. No watermarks.
A scanned PDF looks like a document but behaves like a photo album: you cannot search it, select a sentence or copy a figure, because each page is only a picture of text. Optical character recognition (OCR) looks at those pictures and works out which letters they show. PDFora's OCR PDF tool can then do one of two things with the result: put it back into the PDF as an invisible text layer, so the same file becomes searchable, or give you the words on their own as a plain .txt file.
The default output is a searchable PDF. Your original pages are kept exactly as they are; they are not re-rendered or recompressed, so the scan looks identical and keeps its sharpness. On top of each page the tool places an invisible layer of recognised text, aligned with the words in the image, so search, selection and copy-paste find the text where you see it. This also works on pages stored with a rotation. Pages that already contain real text (more than about 40 characters) are skipped and left untouched, so a mixed document does not end up with duplicated text. The file is named after the original with -searchable added; the .txt option gives yourfile-ocr.txt instead.
Recognition is done by Tesseract.js 5.1.1, an open-source OCR engine that runs in the browser. Each page is rendered at about 144 pixels per inch and analysed on your own processor. The first run downloads the engine and the language data from the jsDelivr CDN, which can take a moment on a slow connection; your PDF is not part of that download and is never uploaded.
How to make a scanned PDF searchable
- Open OCR PDF and add one PDF: a scanner output, a phone photo saved as PDF, or any image-only export.
- Choose the document's language: English, Hindi, Spanish or French. English is selected by default.
- Choose the output: Searchable PDF to keep the pages and add a text layer, or Text file (.txt) if you only want the words.
- Click Run OCR. The status line shows which page is being read; expect a few seconds per page on a laptop and longer on a phone.
- Download yourfile-searchable.pdf or yourfile-ocr.txt, search for a word you can see on the page, and proofread names and figures before relying on them.
When to use this tool
- Making a scanned contract or lease searchable, so you can jump to a clause with Ctrl+F instead of paging through it.
- Turning a department's photocopied course reader into a PDF where quotations can be found and copied.
- Preparing scanned pages for Split by Text, PDF to Text or PDF to Word, which need real text to work with.
- Archiving letters and receipts so that desktop search and document managers can find them by reference number.
- Getting Hindi, Spanish or French scans into plain text that can be pasted into a translation tool.
- Copying figures from a scanned statement into a spreadsheet via the .txt output, then checking each one against the page.
What to know before you start
- The searchable PDF keeps your original pages untouched and adds hidden text on top. You see the scan; search and selection use the recognised text, so any recognition error is invisible until you copy or search.
- Pages that already have more than about 40 characters of real text are skipped in the searchable PDF and left as they were. The .txt output, by contrast, runs OCR on every page.
- Four languages are offered: English, Hindi, Spanish and French. A document in another language is read with the wrong character models and gives poor results.
- Accuracy depends mostly on the scan. Clean, level, high-contrast print usually comes out well; handwriting, faint photocopies, stamps over text and skewed phone photos produce many errors.
- Pages are rendered at about 144 pixels per inch for recognition. Very small print, such as footnotes under 8 pt, may be below what the engine reads reliably at that resolution.
- Layout is not rebuilt. In the .txt file, tables and columns become lines of text; in the searchable PDF the page still looks right, but selecting across columns may pick up text in an odd order.
Tips for the best results
- Scan at 300 dpi in grayscale or black and white if you control the scanner; it helps recognition more than anything you can do afterwards.
- Run Deskew, Compress or Grayscale before OCR, not after. Those tools turn pages into new images, which removes any text layer added earlier.
- Straighten sideways or upside-down scans with Rotate PDF first. The engine expects lines of text running left to right.
- For a long document, split off the pages you need and OCR only those; recognition time grows page by page.
- Proofread numbers. Confusions such as 0 and O, 1 and l, or 5 and S are the most common OCR errors and the most costly in invoices and IDs.
A worked example: a 22-page photocopied course reader
A history student has a 22-page course reader that her department scanned from photocopies, a 9 MB PDF with no text at all. She needs about a dozen quotations for an essay and wants to find every mention of the Peace of Westphalia without reading the whole thing again.
She runs it through OCR PDF with English and Searchable PDF selected. On her laptop it takes around two and a half minutes, about seven seconds a page. The download, reader-searchable.pdf, looks exactly like the scan and is only slightly larger, but now Ctrl+F finds 'Westphalia' on nine pages, and she can select a paragraph and paste it into her notes with the page number visible in the viewer.
Two pages photocopied at a slant give garbled results when she pastes from them. She runs the original reader through Deskew, then OCR again on the straightened file, and those pages come out clean. She also runs the same file once more with Text file output, so she has the whole reader as plain text to skim for names.
She checks every quotation against the page image before using it, since a misread word in a quotation is worse than none, and finds one date read as 1043 instead of 1648. The title pages, set in large type, came through perfectly; nearly all the errors are in the small footnotes, which she reads straight from the scan.
Troubleshooting
- Search finds nothing in the searchable PDF
- Check you opened the -searchable.pdf download, not the original. If some pages still cannot be searched, their text was too faint, small or skewed to recognise; re-scan or straighten them and run OCR again.
- Copied text is full of nonsense characters
- Check the language setting matches the document, and that the pages are upright. Sideways or upside-down scans produce garbage; rotate them first.
- Some pages were left as they were
- Those pages already contained real text, so no second layer was added. Check that you can select text on them in your viewer; if the existing text is bad, use the .txt output, which reads every page.
- The tool hangs at the start
- The first run downloads the OCR engine and language data from cdn.jsdelivr.net. A slow or filtered network or a script blocker can stall it; allow that domain and try again.
- It is very slow on my phone
- OCR is heavy work done on your device's processor. Use a desktop for long documents, or split the file and OCR only the pages you need.
- I compressed the file afterwards and search stopped working
- Compress, Grayscale and Deskew re-render pages as images, which removes the text layer. Run those first and OCR the result last.
Frequently asked questions
Does OCR PDF make my scanned PDF searchable?
Yes. With Searchable PDF selected, it keeps your original pages and adds an invisible text layer, so you can search, select and copy the text.
Will the scan look different or lose quality?
No. The original pages are not re-rendered or recompressed; the recognised text is only added on top, invisibly.
Which languages are supported?
English, Hindi, Spanish and French. Choose the one that matches the document before running OCR.
Is my document uploaded for recognition?
No. The engine and language data are downloaded to your browser from the jsDelivr CDN, and recognition runs there. The PDF itself never leaves your device.
Can it read handwriting?
Poorly. The engine is trained on printed text; neat block capitals sometimes work, cursive handwriting usually does not.
Does it keep tables and formatting?
In the searchable PDF the page looks exactly as before, because the scan is kept. The .txt output is plain text in reading order, without table structure, fonts or images.