| What it is | Python bindings to PDFium, reasonably cross-platform | A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents. | PDF Reader in JavaScript | A high-level idiomatic Rust wrapper around Pdfium, the C++ PDF library used by the Google Chromium project. |
| Kind | Open source | Open source | Open source | Open source |
| Trust | 0.20 | 0.69 | 0.76 | 0.23 |
| Stars | — | 11133 | 54139 | — |
| Last commit | — | 2026-11-13 | 2026-11-15 | — |
| Licence | Apache-2.0 OR BSD-3-Clause | AGPL-3.0-only | Apache-2.0 | MIT OR Apache-2.0 |
| Pricing | Free and open source | Free and open source | Free and open source | Free and open source |
| Free tier | Yes | Yes | Yes | Yes |
| Self-hostable | Yes | Yes | Yes | Yes |
| Ways to run it | — | - PyMuPDF (AGPL) (self-hosted, AGPL-3.0-only): free
You arrange: share your source under the AGPL, including for networked deployments, keep the producer notice in generated PDFs - PyMuPDF commercial licence (Artifex) (self-hosted, proprietary): no published prices; contact Artifex sales (OEM distribution or subscription, per-copy cost with a quarterly minimum fee)
You arrange: annual distribution-volume reporting for OEM distribution - PyMuPDF Office (self-hosted, proprietary): no published price; free trial key for a limited time
You arrange: a licence key passed to pymupdf.office.unlock()
| — | — |
| SOC 2 | — | — | — | — |
| HIPAA | — | — | — | — |
| SSO | — | — | — | — |
| API | — | — | — | — |
| Plugins | — | — | — | — |
| MCP server | — | — | — | — |
| Company | — | Artifex Software | Mozilla | — |
| Features | - render pages at any scale or rotation, with optional form fields, to PIL images or NumPy arrays
- text extraction by region or character range, and text search
- table of contents, page labels and page boxes
- page objects: iterate, insert and remove; image extraction
- embedded file attachments: list, extract, add and delete
- create PDFs, add pages, import pages from other documents and save
- flatten forms and annotations
- raw PDFium API through ctypes (pypdfium2.raw)
- All 12 features
| - render pages of all supported formats to images
- extract text, Markdown, tables and vector graphics
- write text and draw vector graphics on PDF pages
- handles damaged and encrypted PDFs and incremental updates
- annotations and form field creation, reading and updating
- redaction, optional content, font subsetting
- Tesseract OCR API
- merge PDFs with other document types
- All 9 features
| - PDF parsing and rendering
- full viewer application
- built into Firefox
- official Chrome extension
- PDF debugger for a file's internal structure
- a legacy build for older browsers
| - render pages, or portions of pages, to bitmaps and image crate images
- text and image extraction
- form field introspection and filling
- signature, attachment, annotation and link introspection
- document concatenation and watermarking
- create documents, pages, and text, path and bitmap page objects
- custom fonts and custom text shaping inside a text object
- binds to Pdfium at runtime (dynamic) or links it statically
- All 11 features
|
| Limitations | - Isn't thread-safe: PDFium can't be called from several threads at once, even for different documents, so render in parallel with processes
- Doesn't give access to raw PDF objects (dictionaries, streams, name trees): PDFium's public API offers only higher-level functions
| - Can't digitally sign PDFs or create signature fields
- Not thread-safe: use multiple processes instead of threads
| | - Doesn't include or build Pdfium: you supply a prebuilt Pdfium library to bind at runtime or link statically
- Doesn't speed anything up with threads: every call into Pdfium is serialized behind a mutex, so use separate processes for parallel work
|