All tools

OCR PDF

Turn a scanned PDF into one you can search and copy from. The words on every page are read and added as a hidden text layer under the picture of the page, and you also get the text as a .txt file. It all runs in your browser, so your PDF is never uploaded.

Drop a scanned PDF to make it searchable
We read the words on every page and add a hidden text layer. Up to 50 pages, nothing is uploaded.

How to OCR a PDF

1
Drop your scanned PDF
One PDF of up to 60 MB and 50 pages.
2
Pick the language
English or Español, the language the document is written in.
3
Download
Press Make searchable, then save the searchable PDF, the .txt file, or copy the text.
Search and copy
Find any word with Ctrl+F in your PDF reader and select text that used to be a picture.
Text file too
Every page as plain text under a --- Page N --- line, ready to copy or download.
Private
The words are read on your device. The PDF is never uploaded.

OCR a PDF without uploading it

A scanned contract, an old letter or a page photographed with a phone is stored in a PDF as a picture. You can read it, but your PDF reader cannot: Ctrl+F finds nothing, and you cannot select a sentence to copy it. OCR, short for optical character recognition, reads the letters in that picture and turns them into real text.

Most online OCR services do this on their servers, which means sending them the whole document. Here it runs in your browser. Each page is drawn on your device and read by Tesseract, a well-known open source OCR engine, running inside the page. One PDF of up to 60 MB and 50 pages can be read at a time, and the progress is shown as Reading page 3 of 12 and so on.

The first time you use it, your browser downloads the text reader and the file for the language you picked from this site: about 6 MB for English and about 5 MB for Spanish. The language file is kept in your browser, so the next run starts faster. Your PDF itself is never sent anywhere.

Make a scanned PDF searchable

Drop the PDF, pick English or Español, and press Make searchable. Every page is drawn at 200 DPI, the words are read, and the page is rebuilt as the same picture with an invisible text layer placed over the words. The result looks like your scan, but in any PDF reader you can now search for a word, select a line and copy it.

The searchable file is saved as the original name plus -ocr, so scan.pdf becomes scan-ocr.pdf. Each page keeps its size and appears the way you see it in a reader, so a page that was turned sideways stays turned. Because every page becomes a new picture, the file can come out larger or smaller than the original, and links, bookmarks and form fields are not carried over.

Copy the text or save it as a .txt file

Next to the PDF you get the recognized text. It appears in a box below the result, page by page, each page under a line such as --- Page 2 ---. Copy text puts all of it on your clipboard, and the .txt file, named like scan-ocr.txt, holds the same text for Notepad, Word or Google Docs. A page where nothing could be read says "No words found on page 2." instead of leaving a gap.

If your PDF was made by a program such as Word and already has real text, you do not need OCR: PDF to text pulls that text out directly and keeps every letter exact. To change words inside a PDF, use the PDF editor.

Tips for better OCR results

OCR is only as good as the scan. Clear, straight pages of printed text in English or Spanish give the best results. Handwriting is not read reliably, and very small print, faint copies, stamps over text and pages scanned at a slant can give wrong or missing words. Always check names, numbers and amounts against the scan before you use the text.

Pages should be the right way up before you start. A page that shows sideways or upside down is not turned for you, and its words come out as nonsense, so fix it first with rotate PDF. A PDF over 50 pages can be cut into parts with split PDF and each part read on its own.

Frequently asked questions

What does OCR PDF do?
OCR (optical character recognition) reads the words in a picture. Each page of your PDF is read, and the result is a PDF that looks like the original but has a hidden text layer, so you can search it with Ctrl+F and copy words out of it.
Which languages can it read?
English and Spanish. Pick the language of the document before you start. Other languages are not available yet, and a page in another language comes out with wrong or missing words.
Is my PDF uploaded?
No. The pages are drawn and read in your browser. The first run downloads the text reader and the language file from this site (about 6 MB for English, about 5 MB for Spanish), and your browser keeps the language file for next time. Your PDF and its text are not saved anywhere.
How big a PDF can I OCR?
One PDF of up to 60 MB and 50 pages at a time. The pages are read one after another, and the progress is shown page by page.
Will the OCR PDF look the same as my scan?
It looks the same, but every page is rebuilt as a picture at 200 DPI with the text layer on top, so the file size can change. Links, bookmarks and form fields of the original are not kept.
Can it read handwriting?
Not reliably. It is made for printed text. Handwriting, very small print and faint or crooked scans give missing or wrong words, so check the text before you rely on it.

Related tools