Comparison
pdf-oxide vs pypdf vs PyPDF2 vs PyPDF4
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
Actively maintained. Last release 6 days ago, commits in 23 of the last 26 weeks. A safe choice.
pip install pypdfA 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 pypdf4In short
- PyPDF4 looks abandoned: avoid it for new projects.
- pypdf is the most used: 226.5M downloads a month, 14× more than PyPDF2.
- pypdf also has the best Pythie’s Index (93).
- pypdf is growing fastest: downloads +33% over the last month.
- pdf-oxide is the newcomer: first released Nov 2025.
- Safe default for a new project: pypdf.