Comparison
pdf-oxide vs PyPDF2 vs PyPDF4 vs pypdfium2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The fastest Python PDF library — 0.8ms mean, 5× faster than the industry leaders, 100% pass rate on 3,830 real-world PDFs. Text extraction, Markdown/HTML conversion, PDF creation and editing.
Actively maintained. Last release 3 months ago, commits in 14 of the last 26 weeks. A safe choice.
pip install pdf-oxideA pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files
Maintained. Last release over 3 years ago, commits in 23 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install pypdf2PDF toolkit
Likely abandoned. No release or commit for years (last release over 8 years ago).
pip install pypdf4Python 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
- PyPDF4 looks abandoned: avoid it for new projects.
- pypdfium2 is the most used: 138M downloads a month, 8.3× more than PyPDF2.
- Maintenance is comparable: pypdfium2 85, pdf-oxide 83, PyPDF2 57 on Pythie’s Index.
- pypdfium2 is growing fastest: downloads +59% over the last month.
- pdf-oxide is the newcomer: first released Nov 2025.
- Safe default for a new project: pypdfium2.
Side by side
| Metric | pdf-oxide | PyPDF2 | PyPDF4 | pypdfium2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 57 | Pythie’s Index: 19 | Pythie’s Index: 85 |
| Verdict | Actively maintained | Maintained | Likely abandoned | Actively maintained |
| Downloads / month | 228.9K | 16.6M | 106.7K | 138M |
| Downloads, month over month | +17% | +17% | -1% | +59% |
| GitHub stars | 1.2K | 10.3K | – | 874 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 7 | 1.3K | 20 | 446 |
| Last release | Sep 8, 2026 | Dec 31, 2022 | Aug 7, 2018 | Nov 9, 2026 |
| Releases, 12 months | 80 | 0 | 0 | 17 |
| Weeks with commits | 14 / 26 | 23 / 26 | – | 25 / 26 |
| Recent contributors | 6 | 32 | – | 1 |
| First release | Nov 2025 | Aug 2013 | Aug 2018 | Dec 2021 |
| Python versions | 3.9 – 3.14 | 3.6 – 3.11 | – | – |
| License | Apache-2.0 OR MIT | non-standard | non-standard | non-standard |
| Known vulnerabilities | None | 2 | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.