# PyMuPDF4LLM — card for AI agents

PyMuPDF utilities for extracting text from PDFs for LLM and RAG applications.

Category: Files, images and media · PyPI package `pymupdf4llm` · latest version 2.0 (checked 2026-11-01)
Install: `pip install pymupdf4llm`
License: AGPL-3.0 (network-copyleft)

In your own product (generator, app, hosted service): **conditions**. Network copyleft (AGPL): people who use a hosted service built with it are owed the source of the whole service.

## Warnings
- The license is network copyleft (AGPL-3.0): read it before shipping closed-source software or a hosted service.

## Numbers (AgentGid data)
- Gid Score: 66.9 (#503 of all tools, 32 of 274 in its category)
- Used in 5 public projects set up for AI coding agents (0.1%)
- Downloads last week: 18,204,824 (as of 2026-11-17), +497.4% over 4 weeks

## Often used with
python-dotenv 73.3%, Requests 62.2%, Pydantic 62.2%, pandas 55.6%, PyMuPDF 55.6%, NumPy 53.3%

## Checked alternatives (same job)
- pdfplumber: https://agentgid.com/tools/pdfplumber/agent.md
- pytesseract: https://agentgid.com/tools/pytesseract/agent.md
- PyPDF2: https://agentgid.com/tools/pypdf2/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/pymupdf4llm/

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
