Skip to content
Agents tracked: 492 Releases (7d): 545 Agent status: 1 with issuesSince last limit reset: Claude 9d · Codex 7d For AI agents: Markdown Updated Nov 20, 2026

PyMuPDF4LLM

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

Files, images and mediaPYPI

1. License

License from GitHub.

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

What PyMuPDF4LLM does

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

PyMuPDF4LLM popularity

67 / 100
Gid Score, #503 overall
18.2M
downloads a week, pypi
5
agent projects use it
PyMuPDF4LLM: downloads per weekPyPI, pymupdf4llm 18,134,343
PyMuPDF4LLM: GitHub stars 10,936

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

How PyMuPDF4LLM is used

  • PyMuPDF4LLM is a dependency in 5 of the 6,254 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,063, Ethereum and EVM 1,777, 3D and games 3,120, agent frameworks and SDKs 13,629); counting those, it appears in 45 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is pdfplumber (35 projects).
  • Projects that use it most often also use python-dotenv (73.3%), Requests (62.2%), Pydantic (62.2%).

By coding agent

5 projects, 0.2%

Often used with

In 73.3% of its projects
In 62.2% of its projects
In 62.2% of its projects
In 55.6% of its projects
In 55.6% of its projects
In 53.3% of its projects
In 53.3% of its projects
In 48.9% of its projects

More about PyMuPDF4LLM

More in Files, images and media

Alternatives

PyMuPDF4LLM This page

AGPL-3.0Gid 6718.2M/wk

pdfplumber

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

MITGid 7216.7M/wk

pytesseract

Python wrapper for Tesseract OCR to extract text from images and PDFs.

Apache-2.0Gid 636.4M/wk

PyPDF2

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

BSDGid 633.3M/wk

Compare PyMuPDF4LLM with another tool

Get started

Install it.

pip install pymupdf4llm

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