Skip to content
FossShelf
Home / Categories / For Engineers

MuPDF

Fast open source library for rendering and editing PDFs

Replaces Apryse Pdf Sdk, Foxit Pdf Sdk, Adobe Pdf Services Api

3.06K starsAGPL-3.0reviewed 13 Jan 2025last commit 16 Nov 2026
Screenshot of MuPDF

Who it's for

Developers embedding PDF previews

Use MuPDF when an application needs fast local document previews or rendering without launching an external PDF reader.

You need a no-code document management product for business users.

Backend teams converting documents

Use MuPDF for server-side document rendering or conversion pipelines where files should stay under your control.

Your legal team cannot accept AGPL terms and no commercial license is available for your use case.

The problem

Applications that display or process documents need reliable rendering without shipping a full desktop reader. PDF and ebook formats are complex, and poor rendering creates support issues, broken previews, and unreliable conversion pipelines. Developers often face a tradeoff between paid SDKs, external conversion services, and large dependencies. A compact rendering toolkit can be a better fit when document handling must live inside an app or service.

How it works

Embedded document rendering

MuPDF is designed as a rendering toolkit, making it suitable for apps that need to display documents inside their own interface.

Multiple document formats

The project covers PDF plus related document and ebook formats, reducing the need for separate renderers in some applications.

Processing and conversion tools

MuPDF supports document processing workflows such as rendering pages, extracting content, and converting documents for downstream use.

Features

  • Embedded document rendering
  • Multiple document formats
  • Processing and conversion tools

Recommended for this setup

Strengths

  • Strong fit for embedded viewers: MuPDF is useful when document rendering is a feature inside another product rather than the whole product.
  • Clear dual-licensing path: AGPL licensing supports open deployments, while commercial licensing gives companies another path when AGPL obligations do not fit their product.

Trade-offs

  • License choice matters: Teams embedding MuPDF in proprietary products need to review AGPL obligations and commercial licensing options before adoption.

Tech stack

Languages
C, Python, Java, TypeScript, Makefile, Scala, JavaScript, C++, HTML, Shell, C#, CSS, Batchfile, Lua, Roff, Awk, sed
Frameworks
—
Databases
—
Tooling
—

FAQ

Is MuPDF a PDF viewer or a library?

MuPDF is both a lightweight viewer and a toolkit for rendering and processing documents in applications.

What formats does MuPDF handle?

MuPDF focuses on PDF and related document formats such as XPS and EPUB. Teams should verify exact format support for their workload.

Can proprietary apps use MuPDF?

Proprietary use requires careful license review. MuPDF is AGPL-3.0 in the public repository, and Artifex offers commercial licensing.

Similar tools

More in Engineers