Embed a Full PDF Viewer Instantly
Built with Our Own MuPDF Engine for Performance and Reliability.
One Line to Integrate. Works Anywhere
Pure JavaScript
Works with React, Vue, Next.js, Angular, and more
Full TypeScript support
NPM-ready
npm install mupdf-webviewer
Copy
initMuPDFWebViewer('#viewer', 'sample.pdf', {
libraryPath: 'YOUR_LIBRARY_PATH',
licenseKey: 'YOUR_LICENSE_KEY',
})
Try the Demo, Embed in Minutes, Build with Confidence
Try the live demo and see MuPDF Viewer in action. Easily embed it into your app in minutes and create a seamless PDF experience with full customization.
Try the Demo, Embed in Minutes, Build with Confidence
Try the live demo and see MuPDF Viewer in action. Easily embed it into your app in minutes and create a seamless PDF experience with full customization.
Ultra-Lightweight, Dependency-Free
Built from C and compiled into WebAssembly (WASM), MuPDF WebViewer loads fast and runs lean. No external JavaScript libraries, no UI frameworks. Works even in air-gapped environments—perfect for security-conscious organizations.
Full In-Browser Editing
Edit PDFs directly in the browser: highlight, annotate, fill out forms, sign, and redact content permanently using applyRedaction(). All data stays on the client—zero server roundtrips or backend dependencies.
Drop-In Integration
Add a complete viewer with just one JS function. Skip the build steps, bundlers, and framework lock-in. A truly plug-and-play solution that fits into any frontend stack.
Direct PDF Object Access
Go beyond UI controls—access low-level PDF elements. Insert text and images, manipulate pages, and programmatically generate or transform documents. Ideal for LLM pipelines or workflow automation.
Local Save Support
Save edited PDFs as Blob or ArrayBuffer. Easily integrate with CRMs, ERPs, cloud drives, or native download dialogs. Users keep full control of their documents.
Flat, Transparent Licensing
Simple pricing includes full functionality, white labeling, and unlimited usage. No per-user fees, no API throttling, no usage tracking.
Powered by Proven Core
Built on MuPDF, the document reader trusted by Samsung Securities, the Korean Supreme Court, and thousands of developers. Backed by decades of production-grade PDF experience.
Developer-First Experience
NPM-installable, TypeScript-native, fully documented. Works with modern frameworks but never requires them. No vendor lock-in, no hidden binaries—just clean, auditable code.