--- id: pypdf version: "6.16.0" license: BSD-3-Clause license_treatment: permissive maintenance: active --- # pypdf — 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 pypdf uv add pypdf poetry add pypdf ## Description [![PyPI version](https://badge.fury.io/py/pypdf.svg)](https://badge.fury.io/py/pypdf) [![Python Support](https://img.shields.io/pypi/pyversions/pypdf.svg)](https://pypi.org/project/pypdf/) [![](https://img.shields.io/badge/-documentation-green)](https://pypdf.readthedocs.io/en/stable/) [![GitHub last commit](https://img.shields.io/github/last-commit/py-pdf/pypdf)](https://github.com/py-pdf/pypdf) [![codecov](https://codecov.io/gh/py-pdf/pypdf/branch/main/graph/badge.svg?token=id42cGNZ5Z)](https://codecov.io/gh/py-pdf/pypdf) # pypdf pypdf is a free and open-source pure-python PDF library capable of splitting, [merging](https://pypdf.readthedocs.io/en/stable/user/merging-pdfs.html), [cropping, and transforming](https://pypdf.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://pypdf.readthedocs.io/en/stable/user/encryption-decryption.html) to PDF files. pypdf can [retrieve text](https://pypdf.readthedocs.io/en/stable/user/extract-text.html) and [metadata](https://pypdf.readthedocs.io/en/stable/user/metadata.html) from PDFs as well. See [pdfly](https://github.com/py-pdf/pdfly)... ## AI interpretation — verify before relying pypdf is a pure-Python library for reading, splitting, merging, cropping, and transforming PDF files, plus extracting text, metadata, and managing encryption. Verdict: pypdf is a mature, actively maintained, permissively licensed PDF toolkit with no known vulnerabilities, minimal dependencies, and strong community adoption (top 1000 PyPI). It is production-ready for standard PDF operations. [View on SkillFed](https://skillfed.io/packages/pypdf) · [View on PyPI](https://pypi.org/project/pypdf/)