substitutefor

software · Q1591

Substitutes for MuPDF

Document-processing framework with a C library, command-line tools and viewer applications.

Suggest a correction

Compare your options

Find a substitute for MuPDF

Start with what you need to do. Compare the fit, differences, and sources for each option.

2 options

PDF.js

Sourced comparison

Embedding PDF viewing in web applications limited

PDF.js → MuPDF

An alternative for browser PDF rendering through an application integration; not a replacement for every MuPDF command-line or conversion feature.

Platforms: Modern browsers, Legacy browser bundle, Node.js with documented limits · Region: Version, build and integration requirements apply

Sources for this comparison (3)Article revision 704

qpdf

Sourced comparison

Automated PDF structure transformation limited

qpdf → MuPDF

Can cover structural PDF transformations, but not MuPDF's rendering or document-to-image tasks.

Platforms: Linux, Other supported native builds · Region: Version, build and integration requirements apply

Sources for this comparison (2)Article revision 594
How MuPDF compares as a replacement

Programmatic PDF rewriting and page processing limited

MuPDF → qpdf

Can cover selected PDF rewriting and page-processing tasks, but is not a replacement when qpdf linearization is required.

Platforms: Windows, Linux, BSD, macOS tools and library · Region: Version, build and integration requirements apply

Sources for this comparison (3)Article revision 1704

Substitution considerations

MuPDF can substitute for qpdf for some PDF rewriting and page-processing tasks, with additional rendering capabilities when a pipeline needs images or extracted text. The overlap is incomplete: qpdf documents linearized output, while current MuPDF clean no longer supports that operation. Applications choosing between them should identify whether they need structural preservation, rendering, low-level APIs or a specific output feature before changing implementations.[3][4][6][7]

Overview

MuPDF is a document-processing framework comprising a portable C library, command-line tools and viewer applications. It can render, convert and manipulate PDFs and several other document formats. The framework is distinct from the separately packaged commercial MuPDF WebViewer, and capabilities vary between its full and legacy viewer applications.[1]

Rendering and extraction

The draw tool can produce page images, vector outputs and extracted text, including structured text formats. Resolution, page dimensions, page boxes and color settings influence the result. Banded rendering can reduce memory use for certain image outputs. These are processing controls rather than proof of identical output across documents or viewers; an application still needs to choose settings appropriate to previews, printing or extraction.[3]

PDF rewriting and preservation

The clean tool rewrites PDF syntax, can select page ranges and offers options for removing unused objects, deduplicating resources and handling compressed streams. Some options also change images or annotation appearance streams, so a rewrite should not automatically be treated as an unchanged byte-for-byte archival copy. The current manual explicitly marks linearization as no longer supported, despite retaining the old option in its reference.[4]

Libraries and viewer products

The C library is a component for applications, while mutool exposes operations to command-line workflows. The documented framework also has Java and JavaScript interfaces, but those do not make every packaged viewer equivalent. The full OpenGL viewer includes features missing from legacy viewers. MuPDF WebViewer is described separately as commercial-license-only; the framework's open-source availability should not be inherited as the WebViewer product's license.[1]

Availability and licensing

The installation guide describes Windows and Unix-like builds, including macOS tools and libraries, while warning that a standard macOS viewer is not included. MuPDF offers GNU AGPL licensing and a separate commercial agreement. Integrators need to evaluate the applicable terms for their actual component and distribution, rather than assume that a downloadable library grants unrestricted use in every proprietary product.[2][5]

Capabilities & limitations

Document rendering

supported

mutool draw supports image, vector and text outputs with configurable rendering settings.[3]

Programmatic PDF processing and rendering · Windows, Linux, BSD, macOS tools and library · Version, build and integration requirements apply

1 source · check evidence
https://mupdf.readthedocs.io/en/latest/tools/mutool-draw.html

Image/vector/text output and rendering controls

vendor · checked 2026-10-07

PDF linearization

unsupported

Current mutool clean documentation marks its linearization option as no longer supported.[4]

Programmatic PDF processing and rendering · Windows, Linux, BSD, macOS tools and library · Version, build and integration requirements apply

1 source · check evidence
https://mupdf.readthedocs.io/en/latest/tools/mutool-clean.html

PDF rewriting, object cleanup and no-longer-supported linearization

vendor · checked 2026-10-07

macOS viewer availability

limited

The installation guide supports tools/library builds but says no viewer is available as standard on macOS.[5]

Programmatic PDF processing and rendering · Windows, Linux, BSD, macOS tools and library · Version, build and integration requirements apply

1 source · check evidence
https://mupdf.readthedocs.io/en/latest/guide/install.html

Windows, Unix and macOS build routes; no standard Mac viewer

vendor · checked 2026-10-07

References

  1. What is MuPDF?

    Framework, document formats, viewer variants and commercial-only WebViewer

    vendor · retrieved 2026-10-07
  2. MuPDF licensing

    AGPL and commercial alternatives

    vendor · retrieved 2026-10-07
  3. mutool draw

    Image/vector/text output and rendering controls

    vendor · retrieved 2026-10-07
  4. mutool clean

    PDF rewriting, object cleanup and no-longer-supported linearization

    vendor · retrieved 2026-10-07
  5. MuPDF installation

    Windows, Unix and macOS build routes; no standard Mac viewer

    vendor · retrieved 2026-10-07
  6. qpdf overview

    Structural PDF processing without rendering

    vendor · retrieved 2026-10-07
  7. qpdf command-line reference

    --linearize creates web-optimized PDFs

    vendor · retrieved 2026-10-07

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
17042026-10-20 05:37:20/* wbeditentity-create-item:0| */ sf:27df7703-af7b-4454-85b0-3dfb0746d7d6:v2 | Narrow only the qpdf substitution task to PDF rewriting and page processing, addressing the three reviewers’ factual correction. Rechecked qpdf’s official overv | attribution: /proposals/27df7703-af7b-4454-85b0-3dfb0746d7d6