Skip to content

OCR PDF: recognize the text of a scanned PDF

Turn a scanned PDF into a searchable PDF, with text you can select and copy, or take the text out as a file. Works in English and Spanish, is free and your files are never uploaded: everything happens on your device.

Add your PDF file

Drag and drop it here or pick it from your device. One PDF at a time.

Text is read with Tesseract, open-source software (Apache License 2.0). License notices

Your files stay on your deviceThey are processed in your browser. We never upload or store them.

How it works

  1. Add your scanned PDF: drag it onto the page or pick it from your device.
  2. Choose the language of the document and press "Recognize text". You will see which page it is on, and you can cancel at any time.
  3. Download the searchable PDF, which looks just like the original with the text hidden underneath, or copy the text or save it as a .txt file. Everything happens in your browser.

Frequently asked questions

What is OCR and what is it for?

OCR stands for optical character recognition. A scanned PDF is really a picture of each page: you cannot select or search its words. OCR reads those letters and adds the text to the PDF, so you can search with Ctrl+F, copy and paste passages or turn the scanned PDF into text.

How do I make a scanned PDF searchable?

Add the PDF, choose the language it is written in and press "Recognize text". When it finishes you download a PDF that looks exactly like the original but carries an invisible layer of text underneath: PDF readers and the search of your computer or phone find it, and you can select and copy the text.

Is it free to recognize the text of a PDF? Does it add a watermark?

It is free, you do not need an account or to install anything, and the PDF carries no watermark.

Is my PDF uploaded to a server?

No. Your PDF is read in your browser, on your own device, so we never receive or store your document or its text. To recognize the text, the page downloads a reading program (Tesseract, open source, compiled to WebAssembly) and the language data, and it downloads them from this same site, not from anywhere else: that only brings programs to your device, it does not send anything of yours.

What happens to the reading engine when I am done?

It is discarded. The engine works in a process of its own, apart from the page (a Web Worker), which is stopped as soon as the recognition finishes, fails or is cancelled, or when you close the page or pick another file. That frees the program and the language data from memory, and the tool leaves nothing loaded and waiting. Your browser may keep the downloaded files in its ordinary cache so the next time is faster, but they are not left loaded or running.

Which languages does it work in?

English, Spanish or both at once, for documents that mix the two. It is meant for printed or typed text: it does not read handwriting well. If your document is in another language, the result will be poor.

How long does it take? Does it work on a phone?

It works in any current browser, on a computer, phone or tablet. It reads the pages one at a time, so the time depends on the number of pages and on your device: a few seconds per page on a computer and quite a bit more on a phone. If you are in a hurry or the file is long, choose the "Fast" quality. Keep the tab open while it works: the tool tries to keep the screen from turning off.

How do I copy the text or save it to a file?

When it finishes, under the download button you have "Copy text", which puts it on the clipboard, and "Download .txt", which saves it as a text file. That way you can turn a scanned PDF into text even if you do not want the PDF.

How accurate is the result?

It depends on the quality of the scan. With sharp, well-contrasted letters the result is usually very good; with crooked, blurry or shadowed scans, or very small print, there will be mistakes. To improve it, scan at 300 dpi, with the page straight and in good light, and use the "Standard" quality. If the text comes out with low confidence, the tool tells you so you can check it before you use it.

What if my PDF already has text?

The tool detects it and tells you: "This PDF already has selectable text". You can go on anyway. By default it only reads the pages that are an image and leaves the others as they are, so the text is not duplicated; if you turn that off, it reads every page.

Is my original file modified? Does it change how it looks?

Your file is not touched: you get a new PDF, which downloads with the name of the original followed by "-ocr". The pages look the same, because the text is added invisibly on top of the image and the original content does not change. Bookmarks, links and form fields are kept.

What about digital signatures and password-protected PDFs?

If the PDF has a digital signature with a certificate, the tool warns you: adding the text changes the file, so the signature is no longer valid (your original is not touched, keep a copy). A password-protected PDF cannot be opened: remove its password first with "Unlock PDF".

Is there a limit on pages or size?

You can recognize up to 300 pages at a time; if your PDF has more, split it first with "Split PDF". Above about 150 MB the tool warns you that it may be slow or fail, especially on a phone, because everything is processed on your device.

When is another tool the better choice?

If the pages are turned on their side, rotate them first with "Rotate PDF": OCR does not detect the orientation. To make the result smaller, use "Compress PDF" afterwards. And if what you want is to change the text of a PDF, use "Edit PDF".

Search tools

Loading tools…