--- id: pypdf2 version: "3.0.1" license: unclear license_treatment: permissive maintenance: active --- # PyPDF2 — A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install pypdf2 uv add pypdf2 poetry add pypdf2 ## Description [![PyPI version](https://badge.fury.io/py/PyPDF2.svg)](https://badge.fury.io/py/PyPDF2) [![Python Support](https://img.shields.io/pypi/pyversions/PyPDF2.svg)](https://pypi.org/project/PyPDF2/) [![](https://img.shields.io/badge/-documentation-green)](https://pypdf2.readthedocs.io/en/stable/) [![GitHub last commit](https://img.shields.io/github/last-commit/py-pdf/PyPDF2)](https://github.com/py-pdf/PyPDF2) [![codecov](https://codecov.io/gh/py-pdf/PyPDF2/branch/main/graph/badge.svg?token=id42cGNZ5Z)](https://codecov.io/gh/py-pdf/PyPDF2) # **NOTE**: The PyPDF2 project is going back to its roots. PyPDF2==3.0.X will be the last version of PyPDF2. Development will continue with [`pypdf==3.1.0`](https://pypi.org/project/pyPdf/). # PyPDF2 PyPDF2 is a free and open-source pure-python PDF library capable of splitting, [merging](https://pypdf2.readthedocs.io/en/stable/user/merging-pdfs.html), [cropping, and transforming](https://pypdf2.readthedocs.io/en/stable/user/cropping-and-transforming.html) the pages of PDF files. It can also add custom data, viewing options, and [passwords](https://pypdf2.readthedocs.io/en/stable/user/encryption-decryption.html) to PDF files. PyPDF2... ## AI interpretation — verify before relying PyPDF2 is a pure-Python library for reading, splitting, merging, and transforming PDF files, with support for text extraction, metadata retrieval, and encryption/decryption. Verdict: PyPDF2 3.0.1 is a stable, mature PDF manipulation library with low install friction and permissive licensing. However, it is explicitly the final 3.0.X release—development continues under a successor package. Two known vulnerabilities (GHSA-4vvm-4w3v-6mr8, PYSEC-2026-1835) warrant review before production use. [View on SkillFed](https://skillfed.io/packages/pypdf2) · [View on PyPI](https://pypi.org/project/pypdf2/)