# MuPDF

> The ultimate library for managing PDF documents

Source: https://talira.ai/catalog/mupdf-a0hpyn67
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool, Desktop app
- Categories: [documents / pdf / rendering](https://talira.ai/categories/documents/pdf/rendering), [documents / pdf / manipulation](https://talira.ai/categories/documents/pdf/manipulation), [documents / pdf / viewing](https://talira.ai/categories/documents/pdf/viewing)
- Platforms: linux, windows, macos, android, cli[^6][^7]
- Licence: AGPL-3.0-or-later[^3]
- Pricing: Free and open source[^3]
- Pricing notes: Free under the GNU AGPL. A commercial licence from Artifex (contact sales, no published prices) removes the AGPL conditions and includes support.
- Free tier: yes[^3]
- Self-hostable: yes[^6]
- Backed by: [Artifex Software](https://talira.ai/orgs/artifex-software.md)

MuPDF is Artifex's lightweight, fast framework for viewing, rendering, converting and manipulating PDF, XPS, EPUB, MOBI, FB2, CBZ, SVG, Markdown and image documents. It has a portable C library, the mutool command-line tool (draw, convert, show, extract, clean, create, merge, poster, sign, trim, run and more), and viewers for Linux, Windows and Android, with MuPDF.js (WebAssembly for browsers, Node and [Bun](https://talira.ai/catalog/bun-z64kv5wg.md)), Java, MuPDF.NET and [PyMuPDF](https://talira.ai/catalog/pymupdf-xw9pb5xf.md) on top. It is dual-licensed: the GNU AGPL for open source use, or a commercial licence from Artifex for products that can't meet the AGPL.

## Links

- Website: https://mupdf.com
- GitHub: https://github.com/ArtifexSoftware/mupdf
- Docs: https://mupdf.readthedocs.io/en/latest/
- Pricing: https://artifex.com/licensing

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/mupdf>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/mupdf>[^2]

## Problems it solves

- render PDF pages to PNG images quickly from the command line
- extract the embedded images and fonts from a PDF file
- repair a broken PDF that some readers refuse to open
- merge pages from several PDFs into one file in a script
- convert a PDF to text, HTML or SVG for processing
- redact sensitive content from a PDF so the text is really gone
- embed a fast PDF renderer in my C, Java or JavaScript application
- split a large page into tiles to print it as a poster
- digitally sign a PDF from a command-line tool
- open EPUB, XPS and comic book files with the same engine I use for PDFs
- look at the internal objects of a PDF to debug why it renders wrong
- a lightweight PDF viewer with annotation editing and full-text search on Linux or Windows
- need a commercial licence for a PDF engine because we can't open-source our product

## 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
- text, image and metadata extraction
- redaction, annotation, splitting, merging and compression
- portable C library; MuPDF.js (WebAssembly), Java (JNI), MuPDF.NET and PyMuPDF bindings

## Ways to run it

### MuPDF (AGPL)

You run it, AGPL-3.0-or-later. Price: free.[^3][^4]

Not included:

- technical support
- use in closed-source products or services without releasing their source

You arrange:

- release the full source code of systems built with MuPDF under the AGPL, including network services

Self-hosting docs: https://mupdf.readthedocs.io/en/latest/license.html

### MuPDF commercial licence

You run it, under a commercial licence. Price: contact sales.[^3][^5]

Only in this edition:

- no source code disclosure
- technical support
- free upgrades

Self-hosting docs: https://artifex.com/licensing

## Capabilities

- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.67 out of 1.
Signals: maintenance 1.00, adoption 0.70, momentum 0.41, community 0.73, backing 0.30, extensibility 0.20.

- last commit 6 days ago
- 244 commits in the last 90 days
- 3.1k GitHub stars
- 67 contributors
- backed by Artifex Software

## Alternatives

- [Apache PDFBox](https://talira.ai/catalog/apache-pdfbox-79k8kxaj.md): The Apache PDFBox library is an open source Java tool for working with PDF documents.
- [pdfcpu](https://talira.ai/catalog/pdfcpu-ctccs8g5.md): PDF tooling for Go and the command line
- [Ghostscript](https://talira.ai/catalog/ghostscript-j6fzqd7w.md): An interpreter for the PostScript language and PDF files
- [qpdf](https://talira.ai/catalog/qpdf-m21640ex.md): A content-preserving PDF document transformer
- [PyMuPDF](https://talira.ai/catalog/pymupdf-xw9pb5xf.md): A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
- [hayro](https://talira.ai/catalog/hayro-aqyrj3a8.md): A set of Rust crates for parsing, interpreting and rendering PDF files.

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^3]: https://mupdf.readthedocs.io/en/latest/license.html (checked 19 Nov 2026)
[^4]: https://mupdf.com/releases (checked 19 Nov 2026)
[^5]: https://artifex.com/licensing (checked 19 Nov 2026)
[^6]: https://mupdf.readthedocs.io/en/latest/guide/install.html (checked 19 Nov 2026)
[^7]: https://mupdf.readthedocs.io/en/latest/guide/what-is-mupdf.html (checked 19 Nov 2026)
