Command-line tool
ocrmypdf
brew/ocrmypdf
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Adds an OCR text layer to scanned PDF files
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
pipx install ocrmypdf
macOS
brew install ocrmypdf pipx install ocrmypdf
Linux
brew install ocrmypdf pipx install ocrmypdf
Create a new searchable PDF/A file from a scanned PDF or image file
ocrmypdf path/to/input path/to/output.pdf
Skip pages of a mixed-format input PDF file that already contain text
ocrmypdf --skip-text path/to/input.pdf path/to/output.pdf
Clean, de-skew, and rotate pages of a poor scan
ocrmypdf --clean --deskew --rotate-pages path/to/input.pdf path/to/output.pdf
Browse
Related command-line tools
- pdfsandwich
Generate sandwich OCR PDFs from scanned file - fastd
Fast and Secure Tunnelling Daemon - popeye
Kubernetes cluster resource sanitizer - gitleaks
Audit git repos for secrets go security hacktoberfest git golang security-tools devsecops gitleaks secret - velite
Turns Markdown / MDX, YAML, JSON, or other files into app's data layer with type-safe schema. contentlayer… - qrcp
Transfer files to and from your computer by scanning a QR code utility cli golang command-line qrcode - nmap
Port scanning utility for large networks security network scan - osv-scanner
Vulnerability scanner which uses the OSV database scanner security-tools vulnerability-scanner security-audit
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents