pymupdf/pymupdf

PyMuPDF is a high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 34 minutes ago
Added to GitGenius on September 5th, 2026
Created on October 6th, 2012
Open Issues & Pull Requests: 56 (-1)
GitHub issues: Enabled
Number of forks: 797
Total Stargazers: 10,665 (+0)
Total Subscribers: 67 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.4 hours
Mean response time: 3.6 days
90th percentile: 2.7 days
Tracked items: 533

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

How this project is maintained

85% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 85% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 40
New in 7 days: 3
Closed in 7 days: 4
Avg open age: 276 days
Stale 30+ days: 25
Stale 90+ days: 22

Recent activity

Opened in 7 days: 3
Closed in 7 days: 4
Comments in 7 days: 0
Events in 7 days: 1

Top labels

  • not a bug (141)
  • Fixed in next release (91)
  • fix developed (91)
  • enhancement (75)
  • wontfix (63)
  • upstream bug (56)
  • Waiting for information (40)
  • bug (36)

Detailed Description

PyMuPDF is a high-performance Python library for data extraction, analysis, conversion, rendering, and manipulation of PDF and other document formats.

The library solves the problem of efficiently working with documents in Python by wrapping MuPDF, a lightweight C rendering engine that provides both low-level control and high-level convenience APIs. It enables pixel-perfect text extraction with font, color, and position metadata, alongside capabilities for reading, writing, annotating, redacting, merging, splitting, and converting documents. The tool requires no mandatory external dependencies beyond a standard Python installation.

Developers should choose PyMuPDF for projects requiring fast, accurate document processing without heavy external dependencies. It suits data extraction pipelines, document conversion workflows, and AI applications needing structured document data. The library supports a broad range of input formats including PDF, XPS, EPUB, CBZ, MOBI, FB2, SVG, images, and with the Pro variant, Microsoft Office documents. Output options include PDF, SVG, images at arbitrary DPI, Markdown, JSON with layout data, and plain text. Optional packages extend functionality with additional fonts, LLM-optimized extraction via PyMuPDF4LLM, Office document support, and OCR capabilities through Tesseract integration. Pre-built wheels are available for Windows, macOS, and Linux across Python versions, with source compilation supported where wheels are unavailable.

The project maintains active development with regular updates addressing user needs and expanding capabilities. The codebase shows consistent attention to performance optimization and API refinement. Community engagement appears strong, with the tool widely adopted in production environments. Development prioritizes backward compatibility while introducing new features for emerging use cases like LLM integration.