# embedpdf/embed-pdf-viewer

A PDF viewer that seamlessly integrates with any JavaScript project

Repository: https://github.com/embedpdf/embed-pdf-viewer
Canonical: https://ross.abutalabs.com/products/embed-pdf-viewer
Homepage: https://www.embedpdf.com
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: javascript, pdf, pdf-viewer, typescript, pdfium, pdfjs, pdf-library, pdf-sdk, pdf-editor, react-pdf, vue-pdf, adobe-acrobat, pdf-document, pdf-tools, svelte-pdf
Last push: 2026-08-25T23:57:54+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 96, longevity 42
- inputs: {"age_days": 592, "days_push": 8, "days_rel": 29, "gap_med": 3.5, "n_releases_24m": 39}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4426, forks 301 (observed 2026-08-28T04:08:48.882421+00:00)

## What it is
EmbedPDF is an open-source, framework-agnostic JavaScript PDF viewer that works with React, Vue, Svelte, Preact, and vanilla JS. It offers both a ready-made drop-in viewer with a polished UI and headless components/hooks for building fully custom PDF experiences, powered by a PDFium rendering engine.

## Use cases
- embed a pdf viewer in a react app
- display pdf documents in a vue or svelte project
- build a custom pdf viewer ui with full control
- add pdf annotations and form filling to a web app
- replace adobe acrobat embed with an open-source viewer
- render pdfs in a vanilla javascript website via cdn
- add pdf printing, export, and signature support to a web app

## When to choose
- you need a production-ready PDF viewer with toolbars, thumbnails, and annotations out of the box
- you want headless primitives to build a viewer matching your own design system
- you need framework-agnostic support across React, Vue, Svelte, and vanilla JS
- you want a tree-shakeable, minimal-bundle PDF engine with a plugin architecture

## When to avoid
- you only need to extract text or data from PDFs rather than display them
- you require server-side PDF rendering or manipulation outside the browser
- you want to use the v3 major version in production, which is still under active development
- you need a fully non-JavaScript/native PDF solution

## Facets
- artifact type: library
- maturity: active
- function: pdf-viewer, ui-components, frontend-framework, plugin-system, theme
- domain: pdf, web-development, frontend, files, developer-tools
- platform: browser, cross-platform
- tags: pdfium, pdfjs, react, vue, svelte, headless-ui, drop-in-component, typescript, annotations, pdf-forms, wasm, web-server, nodejs

## Member repositories
- embedpdf/embed-pdf-viewer (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:48.882421+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:20:57.161778+00:00, confidence not recorded.
  - readme: https://github.com/embedpdf/embed-pdf-viewer (fetched 2026-08-28T04:08:48.882421+00:00, sha b85eb7383c92)
  - homepage: https://www.embedpdf.com (fetched 2026-08-29T09:08:49.383113+00:00, sha 42f8072a2d7c)
  - site_page: https://www.embedpdf.com/docs (fetched 2026-08-29T09:08:49.392627+00:00, sha 03a488e935a2)
  - site_page: https://www.embedpdf.com/docs/snippet/getting-started (fetched 2026-08-29T09:08:49.394528+00:00, sha 1f128b1b8071)
  - site_page: https://www.embedpdf.com/docs/react/viewer/introduction (fetched 2026-08-29T09:08:49.396180+00:00, sha 066467a40c88)
  - site_page: https://www.embedpdf.com/docs/vue/viewer/introduction (fetched 2026-08-29T09:08:49.397849+00:00, sha 3afa4557684d)
  - site_page: https://www.embedpdf.com/docs/svelte/viewer/introduction (fetched 2026-08-29T09:08:49.399266+00:00, sha 217c24d764cf)
  - site_page: https://www.embedpdf.com/docs/react/headless/introduction (fetched 2026-08-29T09:08:49.400801+00:00, sha 780af9e313be)
  - site_page: https://www.embedpdf.com/docs/vue/headless/introduction (fetched 2026-08-29T09:08:49.402972+00:00, sha 63d74a967646)
  - site_page: https://www.embedpdf.com/docs/svelte/headless/introduction (fetched 2026-08-29T09:08:49.404787+00:00, sha fa6299662dc9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
