Ready-made Viewer
A polished, production-ready PDF viewer that drops into your app in seconds.
- Drop-in component
- Fastest way to launch
- Prebuilt toolbar and layout
The ultimate Open Source PDF viewer for JavaScript. Choose our drop-in component for instant results, or use our headless library to build a completely custom UI.
import { PDFViewer } from '@embedpdf/viewer-react' ;export function App() { return ( <PDFViewer src="/report.pdf" style={{ height: '100vh' }} /> );}
Choose the level of control that fits your project.
A polished, production-ready PDF viewer that drops into your app in seconds.
Build your own custom viewer UI from scratch. We provide the engine, you control the pixels.
Packed with features to handle real-world use cases with ease.
Highlight, underline, draw and add notes.
Fill and save interactive PDF forms.
Add, save and manage e-signatures.
Find text across the entire document.
Permanently redact sensitive content.
Add and manage document stamps.
Copy, paste, and start embedding PDFs in seconds. No build step. No bloat. Works with your stack, today.
<div id="pdf-viewer" style="height: 500px"></div>
<script type="module">
import EmbedPDF from 'https://cdn.jsdelivr.net/npm/@embedpdf/viewer@3/dist/embedpdf.js';
EmbedPDF.init({
target: '#pdf-viewer',
src: '/pdfs/welcome.pdf',
onReady: (viewer) => console.log('PDF viewer ready!', viewer),
});
</script>Apache-2.0 licensed and built transparently for the community.
Secure, reliable, and trusted by thousands of developers.
Drop in with Vanilla JS, React, Vue, Svelte, and more.
EmbedPDF is backed by real developer adoption: npm downloads, GitHub stars, and active participation in the PDF ecosystem.
Trusted by developers worldwide to embed PDFs at scale — from indie tools to enterprise document platforms.
A growing community of developers building the future of PDF on the web.
github.comProud member of the PDF Association advancing the future of PDF.
pdfa.orgFrom quick embeds to custom document workflows, developers use EmbedPDF to ship faster and stay in control.


PDFs are the lifeblood of legal work. EmbedPDF is what we have been searching for since we started our legal software company. A library that excels at handling PDFs and their annotations in a way that is performant, accessible, open and secure. That it is also free is icing on the cake.

I love the modular plugin architecture, the flexibility to integrate and customize however we need has been invaluable. A great open-source product with an amazing license and community of developers ready to help.

After fighting with PDF.js in the browser, we found EmbedPDF with its first-class Svelte support. Within minutes we had something working, its extensible nature gave us the control we needed to build citation highlighting on top. Not a single regret.