sparkleOur fast and customizable PDF WebViewer is here.
Try It Nowchevron-rightcross
Background gradient

MuPDF for Node JS, JavaScript & TypeScript

Bring fast, lightweight PDF processing to your web apps. MuPDF.js supports JavaScript and TypeScript with powerful features and WebAssembly performance. Install via npm and get started quickly.

npm i mupdf
MuPDF.js logo and code

Built for Front-end and Server-side JavaScript

Server-Side PDF Power

Server-Side PDF Power

Run MuPDF.js on the server with our REST API example — ideal for headless PDF processing in Node.js environments.

Modern Web Integration

Modern Web Integration

MuPDF.js works seamlessly with frameworks like React, Vue, Angular and Next.js. It’s built for today’s full-stack JavaScript workflows.

Start Fast with Examples

Start Fast with Examples

From simple scripts to full viewers, our example library helps you build and integrate faster. Everything you need is ready to explore and extend.

Install MuPDF.js
See MuPDF.js in Action

See MuPDF.js in Action

Check out our live PDF Viewer demos. See how MuPDF.js performs in real-world scenarios before you build.

See Demo
Available On npm

Available On npm

Install MuPDF.js directly from npm to start building with ease. Supports Node.js, TypeScript, and modern JavaScript environments.

npm i mupdf

MuPDF.js Resources

Quick Start Guide

Quick Start Guide

Jump into our docs and get started.

See Docs
Find us on Github

Find us on Github

Check out our ongoing development.

Visit Github
MuPDF.js

Try MuPDF.js Today

Start building with the fastest, most flexible PDF library.

Install MuPDF.js