Comparison
fitz vs pymupdf vs PyPDF2 vs pypdfium2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Maintained. Last release 4 months ago. Weaker on release cadence.
pip install fitzA 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 pymupdfA 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 pypdf2Python 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, pypdfium2 85, fitz 64, PyPDF2 57 on Pythie’s Index.
- pymupdf is growing fastest: downloads +67% over the last month.
- fitz is the newcomer: first released Aug 2026.
- Safe default for a new project: pymupdf.
Side by side
| Metric | fitz | pymupdf | PyPDF2 | pypdfium2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 64 | Pythie’s Index: 86 | Pythie’s Index: 57 | Pythie’s Index: 85 |
| Verdict | Maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 65.9K | 191.7M | 16.6M | 138M |
| Downloads, month over month | -28% | +67% | +17% | +59% |
| GitHub stars | – | 11.2K | 10.3K | 874 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 50 | 2K | 1.3K | 446 |
| Last release | Aug 11, 2026 | Nov 25, 2026 | Dec 31, 2022 | Nov 9, 2026 |
| Releases, 12 months | 1 | 10 | 0 | 17 |
| Weeks with commits | – | 26 / 26 | 23 / 26 | 25 / 26 |
| Recent contributors | – | 14 | 32 | 1 |
| First release | Aug 2026 | Nov 2017 | Aug 2013 | Dec 2021 |
| Python versions | – | – | 3.6 – 3.11 | – |
| License | unknown | non-standard | non-standard | non-standard |
| Known vulnerabilities | None | None | 2 | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.