Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

PyPDF2

Pure Python library for splitting, merging, cropping and transforming PDF files.

Files, images and mediaPYPI

GitHub

1. License

License from PyPI classifier.

github.com/py-pdf/PyPDF2

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What PyPDF2 does

Pure Python library for splitting, merging, cropping and transforming PDF files.

PyPDF2 popularity

64 / 100
Gid Score, #741 overall
3.8M
downloads a week, pypi
10.3K
GitHub stars
30
agent projects use it
PyPDF2: downloads per weekPyPI, pypdf2 3,747,657
PyPDF2: GitHub starspy-pdf/PyPDF2 10,307

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How PyPDF2 is used

  • PyPDF2 is a dependency in 30 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.8% of the 1,623 Python ones), #27 of 281 in files, images and media.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 312; those are left out of every share on this page.
  • The most used alternative in our scan is PyPDF (67 projects).
  • Projects that use it most often also use python-dotenv (70.0%), Uvicorn (63.3%), FastAPI (56.7%).

By coding agent

15 projects, 0.5%
14 projects, 0.5%
8 projects, 0.3%

Often used with

In 70.0% of its projects
In 63.3% of its projects
In 56.7% of its projects
In 53.3% of its projects
In 46.7% of its projects
In 43.3% of its projects
In 43.3% of its projects
In 43.3% of its projects

More about PyPDF2

More in Files, images and media

Alternatives

PyPDF2 This page

BSDGid 643.8M/wk

PyPDF

Pure-Python library for reading, merging, splitting and transforming PDF files.

BSD-3-ClauseGid 7852.8M/wk

PyMuPDF

High-performance library for PDF extraction, conversion and manipulation.

Dual Licensed - GNU AFFERO GPL 3.0 or Artifex Commercial LicenseGid 7943.7M/wk

pdfplumber

Extract text, tables and metadata from PDFs with precise character locations.

MITGid 7216.9M/wk

Compare PyPDF2 with another tool

Get started

Install it.

pip install pypdf2

No step-by-step start for PyPDF2 yet: we have not written its hand-checked card.