| What it is | A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents. | Python bindings to PDFium, reasonably cross-platform | The Apache PDFBox library is an open source Java tool for working with PDF documents. | The ultimate library for managing PDF documents |
| 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()
| — | — | - MuPDF (AGPL) (self-hosted, AGPL-3.0-or-later): free
You arrange: release the full source code of systems built with MuPDF under the AGPL, including network services - MuPDF commercial licence (self-hosted, proprietary): contact sales
|
| 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
| - 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
| - Unicode text extraction
- Split and merge
- Read and fill PDF forms
- Print via the standard Java printing API
- Render pages to images (PNG, JPEG)
- Digital signatures
- Create PDFs with embedded fonts and images
- Preflight: PDF/A-1b validation
- All 9 features
| - renders PDF, XPS, OpenXPS, EPUB, MOBI, FB2, CBZ/CBT, SVG (subset), Markdown and images
- output to PDF, text, HTML, PostScript, PCL, PWG, PNG, SVG and PNM/PAM
- mutool draw and convert: render and convert documents
- mutool show, extract, clean, create, merge, poster, pages, info, grep, trim, recolor, bake, audit, barcode
- mutool sign: digital signatures
- mutool run: JavaScript programs with access to the MuPDF library
- mupdf-gl viewer with table of contents, unicode search, annotation editing and redaction
- Android viewers
- All 11 features
|