OCR PDF: Make Scanned PDFs Searchable, Free
Recognise text in scans and photos, right in your browser
OCR PDF recognises the text in a scanned PDF or in a photo of a page and gives you that text back. You can choose a searchable PDF, which keeps each page as it looks and adds an invisible text layer on top, or a plain text file. Recognition runs in your browser with the open-source Tesseract engine.
When to use it
- A scan of a letter, contract or receipt, where you need to search or copy the text.
- A photo of a printed page, saved as JPG, PNG, WEBP, GIF or BMP.
- A scanned PDF that you want to convert to Word or Excel. Run OCR first, then use PDF to Word on the result.
How to run OCR
- Press Open OCR PDF above.
- Choose a PDF or an image, or drop it into the box. The file content is checked, so a file must really be a PDF or an image.
- Pick the language of the text from the list. The list includes English, Hindi, Spanish, French, German, Portuguese, Italian, Tamil, Arabic, Russian, Japanese and Chinese (Simplified). Choose one language per run.
- Choose the output: Searchable PDF or Text file (.txt). For languages that do not use the Latin alphabet, the tool switches to the text file option.
- Press Recognise text. A progress bar shows the page being read. Cancel stops the run.
- Download the result.
If you add several files, they are processed one after another with the same settings, and the results come back in one zip file named firepdf-batch.zip.
What the output looks like
- Searchable PDF, named name-ocr.pdf. Each page looks the same as the original. An invisible text layer sits over each recognised word at its printed position, so search and copy work, and highlights in a PDF viewer line up with the words. Words the engine is unsure about are left out of the text layer.
- Text file, named name-ocr.txt, saved as UTF-8. With more than one page, each page starts with a line such as ===== Page 2 =====.
- The result message gives the number of words or characters recognised and the number of pages.
Languages and output types
The searchable PDF option is available for English, Spanish, French, German, Portuguese and Italian. For Hindi, Tamil, Arabic, Russian, Japanese and Chinese (Simplified), the output is a text file. Choose the language the document is printed in. For a mixed-language page, choose the main language.
Rotated pages
A page that is rotated, rather than upright, does not get a text layer in the searchable PDF. The result message says how many pages were left out. Use Rotate PDF to turn the page upright, then run OCR again.
Getting good results
- Scan at 200 to 300 dpi, keep the page straight and avoid shadows. Photos work best when the page fills the frame.
- Very large photos are scaled down before reading, so a very high resolution image does not necessarily give better text.
- Check names, numbers and dates against the page. OCR can confuse similar characters, such as 1 and l, or 0 and O.
- The engine is built for printed text. Handwriting is likely to be read poorly.
- Trim dark borders with Crop PDF if they confuse the reading.
Common problems and fixes
- “No text could be recognised”. Check that the language is right and that the page is clear, sharp and upright.
- The first run is slow. The OCR engine and the language data for the language you choose are downloaded the first time you use the tool.
- Slow on a phone. Reading a page takes a lot of computing power. Long scans are quicker on a laptop.
- Wrong language output. Run the file again with the correct language selected.
When another tool is better
- The PDF already has selectable text: use Extract text from PDF. OCR is not needed.
- You have photos and need one PDF first: use JPG to PDF or Scan to PDF, then run OCR on the result.
- The scan has tables: run OCR, then use Extract tables from PDF.
Questions and answers
Is my scan uploaded anywhere?
No. The pages are read inside your browser. The OCR engine and the language data are downloaded, but your file is not sent to a FirePDF server.
Why is it slow on my phone?
Reading a page takes a lot of computing power. Long scans are quicker on a laptop.
Can it read Hindi or Tamil?
Yes. Choose the language and save the result as a text file. The searchable PDF option is only for Latin-script languages such as English, Spanish, French, German, Portuguese and Italian.
Why is a rotated page not searchable?
Rotated pages do not get a text layer. Turn the page upright with Rotate PDF, then run OCR again.
Privacy
Recognition runs in your browser. The page's own script reads the pages, and the engine processes them on your device. This tool does not upload your file to a FirePDF server. The first time you use it, the OCR engine and the language data for your chosen language are downloaded from the internet. Read the Privacy Policy and the Security page for details.
You may also need
See all FirePDF tools · ← Back to Home
