Comparison
pdfreader vs pdftotext vs pypdf vs PyPDF4
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Pythonic API for parsing PDF files
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install pdfreaderSimple PDF text extraction
Maintained. Last release 5 months ago. Weaker on release cadence.
$
pip install pdftotextA pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files
Actively maintained. Last release 5 days ago, commits in 23 of the last 26 weeks. A safe choice.
$
pip install pypdfPDF toolkit
Likely abandoned. No release or commit for years (last release over 8 years ago).
$
pip install pypdf4In short
- pdfreader is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- PyPDF4 looks abandoned: avoid it for new projects.
- pypdf is the most used: 221M downloads a month, 1160× more than pdfreader.
- pypdf also has the best Pythie’s Index (93).
- pypdf is growing fastest: downloads +29% over the last month.
- Safe default for a new project: pypdf.
Side by side
| Metric | pdfreader | pdftotext | pypdf | PyPDF4 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | Pythie’s Index: 64 | Pythie’s Index: 93 | Pythie’s Index: 19 |
| Verdict | Slowing down | Maintained | Actively maintained | Likely abandoned |
| Downloads / month | 190.6K | 176.4K | 221M | 104.9K |
| Downloads, month over month | +41% | +0% | +29% | -4% |
| GitHub stars | 124 | – | 10.3K | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 7 | 22 | 2K | 20 |
| Last release | May 3, 2024 | Jun 26, 2026 | Nov 26, 2026 | Aug 7, 2018 |
| Releases, 12 months | 0 | 1 | 50 | 0 |
| Weeks with commits | 0 / 26 | – | 23 / 26 | – |
| Recent contributors | 5 | – | 32 | – |
| First release | Nov 2019 | Jun 2017 | May 2014 | Aug 2018 |
| Python versions | 3.6 – 3.7 | – | 3.10 – 3.15 | – |
| License | MIT | MIT | BSD-3-Clause | 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.