Comparison
pdftotext vs pikepdf vs pymupdf vs pypdfium2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Simple PDF text extraction
Maintained. Last release 5 months ago. Weaker on release cadence.
pip install pdftotextRead, write, repair, and transform PDFs in Python, powered by qpdf
Actively maintained. Last release 6 days ago, commits in 22 of the last 26 weeks. A safe choice.
pip install pikepdfA high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
Actively maintained. Last release 7 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pymupdfPython bindings to PDFium
Actively maintained. Last release 3 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install pypdfium2In short
- pymupdf is the most used: 191.7M downloads a month.
- Maintenance is comparable: pymupdf 86, pikepdf 85, pypdfium2 85, pdftotext 64 on Pythie’s Index.
- pymupdf is growing fastest: downloads +67% over the last month.
- Safe default for a new project: pymupdf.
Side by side
| Metric | pdftotext | pikepdf | pymupdf | pypdfium2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 64 | Pythie’s Index: 85 | Pythie’s Index: 86 | Pythie’s Index: 85 |
| Verdict | Maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 187.7K | 15.2M | 191.7M | 138M |
| Downloads, month over month | +9% | +30% | +67% | +59% |
| GitHub stars | – | 2.8K | 11.2K | 874 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 22 | 245 | 2K | 446 |
| Last release | Jun 26, 2026 | Nov 26, 2026 | Nov 25, 2026 | Nov 9, 2026 |
| Releases, 12 months | 1 | 27 | 10 | 17 |
| Weeks with commits | – | 22 / 26 | 26 / 26 | 25 / 26 |
| Recent contributors | – | 4 | 14 | 1 |
| First release | Jun 2017 | Oct 2017 | Nov 2017 | Dec 2021 |
| Python versions | – | – | – | – |
| License | MIT | MPL-2.0 | non-standard | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.