OCRmyPDF
Some data may be outdated — see provenance labels.
OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched observed · 2026-09-28
Health v2 · maintenance only
97/100
- Activity 97
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 12
- age_days: 4687
- days_rel: 34
- days_push: 23
- n_releases_24m: 32
Adoption not part of the score
34884 stars · 2416 forks observed · 2026-09-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-09-28, confidence 0.99
OCRmyPDF is a command‑line utility that adds an OCR text layer to scanned PDF files, making them searchable and copy‑pasteable. It leverages Tesseract (or EasyOCR via a plugin) and can perform image cleanup, deskewing, and PDF/A conversion.
Use cases
- Add searchable text to a scanned PDF for easy text selection
- Convert a batch of scanned PDFs to searchable PDF/A files
- Improve OCR accuracy by deskewing and cleaning scanned pages
- Create multilingual searchable PDFs from documents in multiple languages
- Integrate OCR into automated document processing pipelines
When to choose
- You need a free, scriptable CLI tool for OCR on PDFs
- You require PDF/A compliance and lossless image handling
- You want to process large numbers of PDFs with multi‑core support
- You prefer an open‑source solution that works with Tesseract or EasyOCR
When to avoid
- You need a graphical user interface for OCR
- You require OCR on non‑PDF formats without conversion
- You need real‑time OCR on video streams or mobile devices
Facets
cli-tool · maturity active
ocr pdf image-processing file-system cli artificial-intelligence data-science windows cli searchable-pdf pdfa tesseract multilingual-ocr batch-processing pdf-optimization document-management linux macos docker
4 sources
- readme: https://github.com/ocrmypdf/OCRmyPDF · fetched 2026-09-28 · 33a3280a168f
- homepage: http://ocrmypdf.readthedocs.io/ · fetched 2026-09-14 · 53d7a424306c
- registry_pypi: https://pypi.org/pypi/ocrmypdf/json · fetched 2026-09-14 · 19142297622b
- registry_pypi: https://pypi.org/pypi/ocrmypdf-easyocr/json · fetched 2026-09-14 · e7f575481750
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ocrmypdf/OCRmyPDF | main | 97 |
| ocrmypdf/OCRmyPDF-EasyOCR | plugin | 55 |
For agents
markdown · JSON · MCP: product_card(name="ocrmypdf/OCRmyPDF")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem