The ultimate library for managing PDF documents

MuPDF is the fast & powerful solution for managing PDF and other document formats.

A few of our trusted partners

The complete PDF solution for every need

Extract
Render
View
Redact
Create
Annotate
Parse
Split
Convert
Merge
Sign
Optimize
SOURCE CODE

The MuPDF source code

The core library - built with C (and a lot of love 💖).

The MuPDF source code

Ideal for demanding desktop and server applications requiring PDF processing, conversion, or visualization.

Quick Start Guide

Jump into our documentation to find out how to download and get started.

Explore
PYMUPDF

The fastest PDF document parsing and data extraction software available in Python

Table Extraction

PyMuPDF offers a straightforward and efficient method for extracting tables using Python.

Efficient

Highly efficient in parsing PDFs and extracting text, images, and metadata for data analysis.

Performance boosted

With C code performance at the core of PyMuPDF get serious with your applications.

How to install

PyMuPDF should be installed using pip with:

pip install pymupdf
PyMuPDF Code Snippet

RAG Integration

PyMuPDF integrates seamlessly with LangChain, Llamaparse and more! Prepare your data for Retrieval-Augmented Generation solutions and give your LLM the data that your users can trust.

Try PyMuPDF4LLM
PyMuPDF RAG Integration Code Snippet
Available from PyPI

Available from PyPI

For the most convenient integration just grab our package from PyPI.

Learn more

PyMuPDF and elevait

elevait deals with the extraction of structured information from unstructured sources for the construction industry.

Read Case Study
Get Started with RAG

Get Started with RAG

Find out more on pymupdf.git/RAG.

Learn more

Enhance PyMuPDF Capability with Office Document Support

PyMuPDF Pro supports DOC/DOCX, PPT/PPTX, XLS/XLSX and HWP/HWPX.

Try it today for free!
PyMuPDF Pro
Quick Start Guide

Jump into our documentation to find out how to download and get started.

Explore
MUPDF.JS

MuPDF for Node JS, JavaScript & TypeScript

Many Examples

From basic node command line to NextJS client/server solutions to PDF viewers our examples folder will give you a head start with your development.

Learn more
Supports modern Web

Integrate with modern web frameworks like Next.js, Vue.js and React.

Multiple support

Whether you’re building with Node.js, TypeScript or just regular JavaScript, MuPDF.js will accommodate your needs.

Learn more
MuPDF Javascript Multiple support

Available from NPM

For the most convenient integration just grab our package from NPM.

npm i mupdf
MuPDF Javascript Multiple support
Getting started

Get started with NodeJS & MuPDF.js to get things done.

Explore
MuPDF Javascript Code Snippet
MUPDF.NET

The C# Language Binding for MuPDF

Build what you need

Render PDFs for web applications, create print previews, perform document conversion, annotate and redact documents all within a .NET environment.

Get Started

Check out our documentation and start using MuPDF.NET.

Learn more
MUPDF WITH JAVA

Use our Java library to develop your backend or frontend solution

Download MuPDF Java

Server solutions

If you use Java for your server applications MuPDF is right there to help.

Desktop apps

Our canonical MuPDF repository has Java platform code ready to go right out of the box.

Mobile apps

Need a mobile PDF viewer? Try our Android Library to get started with your development.

LICENSING

As long as you're open source*, you're good, otherwise you will need to buy a commercial license

Open Source

MuPDF is licensed under the GNU AGPL.This is a complex license that allows you to use MuPDF to build your own projects for free, with no warranty and no support. It imposes many conditions on users, including the need to release the full source code for systems built with it.Please ensure that you can comply with the conditions of the AGPL license.

Open Source
Open Source

Commercial Licensing

For those users that cannot (or do not want to) comply with the terms of the GNU AGPL, it is also offered under a commercial license. This completely frees users from the complexities imposed by the GNU AGPL.Please contact us if you require a commercial license.

* Please read the details about Open Source above