
OCRmyPDF
Command-line tool that adds a searchable text layer to PDFs
- #2 of 8 in best OCR software
- Free and open source
- Free to use
- Open source
- LinuxmacOSWindowsCommand line
Opens ocrmypdf.readthedocs.io in a new tab. Check current plans and terms there; nothing is purchased on listme.name.
Ranked 2 of 8 in best OCR software
Adds a searchable text layer to existing PDFs from the command line, with batch jobs and watched folders. It is free under MPL-2.0 but needs a terminal, and its language support depends on the Tesseract packs you install.
Best for Batch OCR of PDFs in scripts and folders
About OCRmyPDF
OCRmyPDF adds an optical character recognition text layer to existing PDF files. It works from the command line and can process a single file, a directory tree or a folder that is watched for new scans. The documentation also covers PDF optimization, PDF/A output modes and digitally signed PDFs.
Language support depends on the Tesseract language packs you install, and the documentation covers adding more of them. Installation is documented for Linux, macOS and native Windows, with Docker and Windows Subsystem for Linux as alternatives. It is the strongest free option here for batch work on existing PDFs, but it needs a terminal and some setup, so it suits scripted work more than one-off scans.
Key features
- Searchable PDF output
- Batch jobs and watched folders
- PDF/A output modes
- Docker image
Strengths
- Batch jobs, directory trees and watched folders
- Adds a text layer to existing PDFs at no cost
Limits
- Needs a terminal and Tesseract language packs
- Setup is heavier than a desktop scanner app
Where OCRmyPDF ranks
How OCRmyPDF compares
| Product | Score | Price | Platforms | Languages | Input | Output |
|---|---|---|---|---|---|---|
| #1 | 91.0 | Paid | WindowsmacOSiOS | 198 recognition languages | Scans, images and PDFs | PDF, Word and Excel files |
| #2 | 86.0 | Free and open source | LinuxmacOSWindowsCommand line | Tesseract language packs | Existing PDF files | Searchable PDF |
| #3 | 84.5 | Free and open source | WindowsmacOSLinux | Over 100 languages | Scanner pages and images | PDF, TIFF, JPEG or PNG |
| #4Tesseract | 82.0 | Free and open source | LinuxmacOSWindowsCommand line | Over 130 via Linux packages | Image files | Text, searchable PDF, hOCR, TSV |
| #5Text Grab | 78.5 | Free and open source | Windows | Windows OCR language packs | Screenshots and supported files | Clipboard or an editor |
The full comparison table for best OCR software has all 8 products.
Alternatives to OCRmyPDF
All 7 alternatives
ABBYY FineReader PDFAlso runs on iOS.
NAPS2Free open-source scanner app for Windows, Mac and Linux- TesseractOpen-source OCR engine that reads image files from the command line
- Text GrabFree MIT-licensed Windows app for OCR from screenshots and files
TextSniperIs a one-time purchase.
Microsoft PowerToysFree open-source Windows utilities, including the PowerToys Run launcher
Questions about OCRmyPDF
- Is OCRmyPDF free?
- OCRmyPDF can be used without paying: Free and open source under MPL-2.0. Check the vendor’s pricing page for current limits.
- Is OCRmyPDF open source?
- Yes. OCRmyPDF publishes its source code under the MPL-2.0 license.
- Which platforms does OCRmyPDF support?
- OCRmyPDF is available on: Linux, macOS, Windows, Command line.
- What is OCRmyPDF best for?
- Batch OCR of PDFs in scripts and folders. In our ranking of OCR software it is number 2 of 8 with a score of 86.0.
- What are the best alternatives to OCRmyPDF?
- The highest-ranked alternatives on listme.name are ABBYY FineReader PDF, NAPS2, Tesseract, Text Grab.
Show this ranking on your site
If you make or maintain OCRmyPDF, this badge links back to this page and shows its current rank. It updates when the ranking does.
<a href="https://listme.name/software/ocrmypdf"><img src="https://listme.name/badge/ocrmypdf.svg" height="28" alt="Ranked #2 of 8 OCR software on listme.name"></a>