MuPDF is a lightweight PDF, XPS, and E-book viewer.

MuPDF consists of a software library, command line tools, and viewers for various platforms.

The renderer in MuPDF is tailored for high quality anti-aliased graphics. It renders text with metrics and spacing accurate to within fractions of a pixel for the highest fidelity in reproducing the look of a printed page on screen.

The viewer is small, fast, yet complete. It supports many document formats, such as PDF, XPS, OpenXPS, CBZ, EPUB, and FictionBook 2. You can annotate PDF documents and fill out forms with the mobile viewers (this feature is coming soon to the desktop viewer as well).

The command line tools allow you to annotate, edit, and convert documents to other formats such as HTML, SVG, PDF, and CBZ. You can also write scripts to manipulate documents using Javascript.

The library is written modularly in portable C, so features can be added and removed by integrators if they so desire. We also have a Java library using JNI that works on both Oracle's Java and Android.

Go to the Artifex MuPDF product overview to learn more.

Current Releases

Download packages of the latest release for your system:

The latest development source is available directly from the git repository:

git clone --recursive git://git.ghostscript.com/mupdf.git

Security Advisory

December 16, 2021: Apache Log4J vulnerability – MUPDF and MUJS NOT AFFECTED – For more info see: CVE-2021-44228

Ecosystem

Handy if you would like a top level overview of the technology ecosystem, including notes and links to associated repositories.

Related Projects

  • Ghostscript: A PostScript interpreter.
  • jbig2dec: A JBIG2 image decoder.
  • MuJS: A lightweight Javascript interpreter.