# pymupdf/PyMuPDF

> Layout\-aware document engine for AI and a feature\-rich Python toolkit for extracting, rendering and editing PDFs and other documents\. Since version 2\.0, its ML\-based layout analysis turns PDFs and Office files into high\-quality Markdown for RAG and agents, running fast on CPU and grounding every result to its source page\.

Canonical: https://starboard.codevetter.com/explore/pymupdf/PyMuPDF

[Back to Discover](https://starboard.codevetter.com/discover)

![pymupdf](https://avatars.githubusercontent.com/u/48152365?v=4&s=40)

pymupdf

# PyMuPDF

[View on GitHub
](https://github.com/pymupdf/PyMuPDF)

Layout\-aware document engine for AI and a feature\-rich Python toolkit for extracting, rendering and editing PDFs and other documents\. Since version 2\.0, its ML\-based layout analysis turns PDFs and Office files into high\-quality Markdown for RAG and agents, running fast on CPU and grounding every result to its source page\.

data\-science
epub
extract\-data
font
grounding
mupdf
ocr
pdf
pdf\-documents
pymupdf
python
table\-extraction
tesseract
text\-processing
text\-shaping
xps


11k stars

Python

Updated 20h ago

Created Oct 6, 2012

## Star history

\+1,364 stars
13\.9% growth


## Detected tools

[GitHub Actions](https://starboard.codevetter.com/tools/github-actions)


Tool detection is evidence\-based, not a full runtime audit\. Package manifests, lockfiles, and SBOMs are high\-confidence; README, topics, and AI metadata are lower\-confidence signals\. Repository language is metadata, not counted as a tool\. Accuracy varies by ecosystem, especially for C/C\+\+ and custom monorepos\.

- GitHub Actions  · 88% confidence · Sources: \.github/workflows/build\_wheels\.yml, \.github/workflows/cla\.yml, \.github/workflows/test\-valgrind\.yml, \.github/workflows/test\.yml, \.github/workflows/test\_multiple\.yml, \.github/workflows/test\_pyodide\.yml, \.github/workflows/test\_quick\.yml, \.github/workflows/test\_sysinstall\.yml · Detected Aug 11, 2026

## Similar projects

[![opendatalab](https://avatars.githubusercontent.com/u/97503431?v=4&s=24)

opendatalab/ MinerU

Transforms complex documents like PDFs and Office docs into LLM\-ready markdown/JSON for your Agentic workflows\.

Python 84k 67%](https://starboard.codevetter.com/explore/opendatalab/MinerU)[![M1ck4](https://avatars.githubusercontent.com/u/24867776?v=4&s=24)

M1ck4/ pdfmd

Smart PDF to Markdown converter with intelligent heading detection, automatic header/footer removal, orphan fragment merging, and image export\. Features a user\-friendly GUI with preview mode, persistent settings, and per\-page error recovery\. Optimized for Obsidian and other Markdown\-based note\-taking workflows\.

Python 302 66%](https://starboard.codevetter.com/explore/M1ck4/pdfmd)[![py\-pdf](https://avatars.githubusercontent.com/u/102914013?v=4&s=24)

py\-pdf/ pypdf

A pure\-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files

Python 10k 70%](https://starboard.codevetter.com/explore/py-pdf/pypdf)[![oomol\-lab](https://avatars.githubusercontent.com/u/146153906?v=4&s=24)

oomol\-lab/ pdf\-craft

PDF craft can convert PDF files into various other formats\. This project will focus on processing PDF files of scanned books\.

Python 6\.8k 62%](https://starboard.codevetter.com/explore/oomol-lab/pdf-craft)[![ocrmypdf](https://avatars.githubusercontent.com/u/96028099?v=4&s=24)

ocrmypdf/ OCRmyPDF

OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched

Python 35k 62%](https://starboard.codevetter.com/explore/ocrmypdf/OCRmyPDF)[![aryaminus](https://avatars.githubusercontent.com/u/16350823?v=4&s=24)

aryaminus/ saram

Get OCR in txt form from an image or pdf extension supporting multiple files from directory using pytesseract with auto rotation for wrong orientation\. PYPI:

Python 54 61%](https://starboard.codevetter.com/explore/aryaminus/saram)[![bytedance](https://avatars.githubusercontent.com/u/4158466?v=4&s=24)

bytedance/ Dolphin

The official repo for “Dolphin: Document Image Parsing via Heterogeneous Anchor Prompting”, ACL, 2025\.

Python 9\.1k 64%](https://starboard.codevetter.com/explore/bytedance/Dolphin)[![Layout\-Parser](https://avatars.githubusercontent.com/u/66751426?v=4&s=24)

Layout\-Parser/ layout\-parser

A Unified Toolkit for Deep Learning Based Document Image Analysis

Python 5\.8k 66%](https://starboard.codevetter.com/explore/Layout-Parser/layout-parser)
