List
hero-jshero-tshero-angularhero-vuehero-react
PDF Viewer for JS, TS, Angular, Vue and React

Intelligent PDF Embedding

Semantic search, smart extraction, and document understanding—all in one customizable component
Trusted by Leading AI Innovators
perplexityjennie
CubeLLM-READY PDF VIEWER

Smarter PDFs Start Here

A basic PDF viewer isn’t enough. MuPDF WebViewer turns PDFs into context-aware, AI-ready assets.
Text Extraction

Text Extraction and Processing

MuPDF WebViewer offers robust text extraction that preserves structure, formatting, and metadata, giving AI systems the context they need to understand headings, paragraphs, tables, and more.
Text Extraction

Annotation and Markup Support

The viewer enables programmatic annotations, highlights, and markup, allowing AI to add notes, surface key sections, or create interactive elements.
Text Extraction

JavaScript API Integration

MuPDF WebViewer provides extensive JavaScript APIs that let AI applications extract specific content regions, navigate documents programmatically, and create custom UI elements to display AI-generated insights.

More Ways We Serve as an AI-Ready Asset

lightning
Real-time Content Analysis
The viewer can work with AI systems to provide real-time analysis as users navigate through documents. This enables features like automatic summarization, content categorization, or contextual information display.
device
Cross-platform Compatibility
Since it's web-based, MuPDF WebViewer can easily integrate with cloud-based AI services and work across different platforms, making it suitable for modern AI-powered document workflows.
CubeBUILT FOR DEVELOPERS

Just a Few Lines. Works Everywhere.

Just a Few Lines. Works Everywhere.

  • CheckPure JavaScript
  • CheckWorks with React, Vue, Next.js, Angular, and more
  • CheckNPM-ready
npm install mupdf-webviewer
Copy
const initializedRef = useRef(false)
 
useEffect(() => {
  if (initializedRef.current) return
  initializedRef.current = true
  initMuPDFWebViewer('#viewer', `${location.origin}/sample.pdf`)
}, [])
 
return (
  <div id="viewer"></div>
)
CubeWHY MUPDF WEBVIEWER

Powerful On the Inside, Simple On the Outside

Ultra-Lightweight, Dependency-Free
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
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
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
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
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
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
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
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.

What They Built With MuPDF

What They Built With MuPDF

See how developers are turning PDFs into real-time, AI-ready interfaces—with MuPDF at the core.
Jenni AI is currently using MuPDF WebViewer as a PDF viewer within their product. You can upload a PDF, view it instantly, and use their intelligent research assistant to ask questions about the document’s content.
Jenni AI
Moxx is a litigation application and digital trial notebook that streamlines organization and supercharges collaboration. For seamless PDF viewing and editing, MuPDF WebViewer offers an instant, hassle-free integration. Instantly display PDFs, jump between the timeline, notebook and narrative, and capture insights – all in one powerful platform.
Moxx

Build Smarter with MuPDF WebViewer

Join trustworthy AI innovators and power your product with our context-aware PDF Viewer.
Enjoy advanced features with annotations, redaction, and more
AI/LLM readiness with structured, context-aware documents
Lightning-fast performance powered by our own MuPDF engine.
Custom License