Does PyMuPDF AGPL-3.0 affect commercial apps?
Yes, for proprietary SaaS and commercial software. PyMuPDF (fitz) is dual-licensed by Artifex under GNU AGPL-3.0 and a paid commercial licence, so running it inside a closed-source server or web app without paying Artifex triggers AGPL-3.0 source-sharing obligations.
Unlike standard GPL, AGPL-3.0 covers remote network interaction (Section 13), meaning a hosted API backend still triggers copyleft obligations.
Facts read on 26 November 2026. Sources are at the foot of the page. This is not legal advice.
The licence in one table
| What it is | Python bindings (fitz, ~83M monthly PyPI downloads) to Artifex’s MuPDF C engine for PDF parsing, rendering and text extraction. |
|---|---|
| Open-source licence | GNU AGPL-3.0. |
| Commercial licence | Sold directly by Artifex Software for proprietary desktop, mobile, embedded and SaaS applications. |
| Network-use rule | AGPL-3.0 Section 13 extends copyleft source-disclosure rules to software users interact with over a network, closing the classic SaaS loophole. |
| Other PDF forensics traps | peepdf and pdfalyzer are GPL-3.0; DocTamper and TruFor are strictly non-commercial; AIForge-Doc is CC-BY-NC-SA-4.0. |
What is unclear
- Where microservice or subprocess boundaries stop AGPL-3.0 propagation in a closed backend. Rightsholders often scrutinize thin wrapper services, so get counsel before relying on process isolation.
- Whether your RAG, OCR or document-parsing dependencies already pull
PyMuPDFtransitively into production containers.
What to use
| You need MuPDF’s full engine in a proprietary app | Purchase a commercial PyMuPDF licence from Artifex. |
|---|---|
| General permissive PDF parsing or rendering | Permissively licensed PDF libraries (such as pypdf under BSD-3-Clause or qpdf under Apache-2.0). |
| PDF edit archaeology and hidden-text forensics | Milliframe doc-forensics ships a zero-GPU Apache-2.0 local/WASM engine that inspects PDF revision history, structure, metadata anomalies and hidden text with no AGPL-3.0. |
Sources
Read on 26 November 2026.
Related
| doc-forensics | Apache-2.0 local/WASM PDF edit and hidden-text engine |
|---|---|
| Returns, claims and document forensics | Combine capture-guide, doc-forensics and pii-video |
| What our models are trained on | Zero AGPL, zero non-commercial weights |
Not open yet. Be told when it is.
Tell us what you are building and which models you need, and we will write when they open.