Documentation

Everything you need
to build amazing PDF experiences

Two powerful ways to use EmbedPDF. Choose between our ready-made viewer for instant results, or our headless components for complete control.

Ready-made Viewer

Batteries Included

The fastest way to get started. A polished, production-ready PDF viewer that drops into your app in seconds.

  • Pre-built UI & Themes
  • Simple Configuration
  • Standard Features Built-in
Choose your framework

Headless Components

Full Control

Build your own custom viewer UI from scratch. We provide the engine and hooks, you control the pixels.

  • 100% UI Customization
  • React, Vue, Svelte Hooks
  • Lightweight Core
Choose your framework

Reference Packages

@embedpdf/snippet

The complete, highest-level package with built-in UI and controls. Drop it into any website with just a simple snippet.

Complete UINo Build Required

@embedpdf/engines

Pluggable rendering engines. Ships with PdfiumEngine – a high‑level wrapper with advanced PDF processing capabilities.

High-level APITypeScript

@embedpdf/pdfium

Low-level JavaScript API wrapper for the PDFium rendering engine. Direct access to PDF manipulation.

CoreLow-level API

Need help?

Join our community for support, discussions, and to contribute to EmbedPDF's development.