OpenAltFinder
EmbedPDF

EmbedPDF

A PDF viewer that seamlessly integrates with any JavaScript project

Open source alternative to:

EmbedPDF is a JavaScript PDF viewer library designed to make embedding PDF documents into web applications simple and highly customisable. It provides two integration paths: a polished, ready-to-use viewer component that can be added to a page in a couple of lines of code, and a headless library that exposes all rendering and interaction primitives so developers can build a completely custom viewer interface.

The viewer supports annotation tools including highlighting, drawing, and shapes, text selection and extraction, zoom, rotation, multi-spread layouts, printing, and export. SDKs are available for React, Vue, Svelte, and vanilla JavaScript, and the library includes internationalisation support and AI-powered layout analysis for detecting document structure.

EmbedPDF is aimed at developers who need a flexible, framework-agnostic PDF viewing solution without the cost and lock-in of proprietary commercial PDF SDKs. Its MIT licence ensures full code ownership regardless of how it is integrated.

Looking for contributors

This project is actively seeking help, join the community!

Visit EmbedPDF
License
MIT
Self hostable
No
Repository details
Version
v2.14.3
Created
1/18/2025
Stars
4,088
Forks
262
Open issues
156
Last commit
5/20/2026

Updated 5/22/2026, 3:00:37 PM

View Repository
Sponsor EmbedPDF

Sponsor EmbedPDF on GitHub Sponsors

https://github.com/sponsors/embedpdf

Compare EmbedPDF with

Similar open source alternatives