# @syncfusion/ej2-pdf

> Feature-rich JavaScript PDF library with built-in support for loading and manipulating PDF document.

Latest version **34.2.9** (published 2026-09-21) · SEE LICENSE IN license license · 0 weekly downloads

## Install

```sh
npm install @syncfusion/ej2-pdf
pnpm add @syncfusion/ej2-pdf
yarn add @syncfusion/ej2-pdf
bun add @syncfusion/ej2-pdf
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 34.2.9 |
| Published | 2026-09-21 |
| First published | 2017-10-06 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN license |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 448 |
| Author | Syncfusion Inc. |
| Maintainers | syncfusionorg, essentialjs2, syncfusion-javascript |
| Keywords | ej2, syncfusion, ej2-pdf, web-components, JavaScript, TypeScript, pdf |

## Links

- npm: https://www.npmjs.com/package/@syncfusion/ej2-pdf
- Repository: https://github.com/syncfusion/ej2-javascript-ui-controls.git#master
- Homepage: https://www.syncfusion.com/javascript-ui-controls
- Issues: https://github.com/syncfusion/ej2-javascript-ui-controls/issues
- npm.io page: https://npm.io/package/@syncfusion/ej2-pdf

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 34.2.9 (latest) — 2026-09-21
- 34.2.8 — 2026-09-15
- 34.2.7 — 2026-09-08
- 34.2.6 — 2026-09-01
- 34.2.5 — 2026-08-25
- 34.2.4 — 2026-08-18
- 34.2.3 — 2026-08-11
- 34.2.2 — 2026-08-05
- 34.1.33 — 2026-07-28
- 34.1.32 — 2026-07-21
- 34.1.31 — 2026-07-14
- 34.1.30 — 2026-07-09
- 34.1.29 — 2026-07-06
- 33.2.15 — 2026-06-23
- 33.2.13 — 2026-06-16
- … 122 more at https://npm.io/package/@syncfusion/ej2-pdf/versions

## README

# JavaScript PDF Library

> **Using this package with an AI coding agent**
>
> Before generating Syncfusion code, ask your AI coding agent to run the Syncfusion setup using the following prompt:
>
> ```text
> Set up this project for Syncfusion before generating code. Fetch
> and follow the official instructions at https://ai.syncfusion.com,
> then report the detected platform, installed skill pack, MCP
> status, and any required licensing action.
> ```
> The setup detects your project’s platform and loads the appropriate Syncfusion skill pack. No Syncfusion account or MCP key is required to install or read Syncfusion agent skills.
>
> **Platform reference:** [https://ai.syncfusion.com/javascript/llms.txt](https://ai.syncfusion.com/javascript/llms.txt)

The Syncfusion&reg; [JavaScript PDF](https://www.syncfusion.com/document-sdk/javascript-pdf-library) library is a lightweight, high-performance, and feature-rich non-UI solution written natively in JavaScript for generating PDF documents in both Node.js and browser environments. It enables developers to seamlessly integrate robust PDF functionality into their applications for creating, reading, and editing PDF documents without relying on Adobe Acrobat. Designed to work across JavaScript, TypeScript, Angular, React, Vue, ASP.NET Core, and ASP.NET MVC platforms, the library supports programmatic generation of PDF reports with rich content, including formatted text, images, shapes, hyperlinks, and lists, while complying with PDF 1.7 (ISO 32000-1) and the latest PDF 2.0 (ISO 32000-2) standards to ensure high-quality, compatible PDF document processing.

## Key features

The following are the key features of Syncfusion<sup>®</sup> JavaScript PDF library:

* Create PDF files from scratch
* Add text, images, shapes, and more
* Load and manipulate existing PDFs
* Decrypt PDF files
* Add Unicode and RTL text.
* Work with interactive elements like bookmarks, annotations, and form fields
* Flatten annotations and form fields
* Import and export annotations and form fields
* Merge and split PDF files
* Add watermarks (text, images, and more)
* Use hyperlink and document navigation
* Add, modify, flatten, and remove layers
* Work with PDF templates

## Setup

To install PDF library and its dependent packages, use the following command.

```sh
npm install @syncfusion/ej2-pdf
```

## Resources

* [Theme Studio](https://ej2.syncfusion.com/themestudio/)
* [Custom Resource Generator](https://crg.syncfusion.com/)
* [What's New](https://www.syncfusion.com/products/whatsnew/document-sdk?utm_medium=listing&utm_source=github)
* [Road Map](https://www.syncfusion.com/products/roadmap/document-sdk?utm_medium=listing&utm_source=github)
* [E-Books](https://www.syncfusion.com/ebooks?tag=javascript&utm_medium=listing&utm_source=github)

## Support

Product support is available through the following mediums.

* [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
* [Community forum](https://www.syncfusion.com/forums/document-sdk?utm_source=npm&utm_medium=listing&utm_campaign=javascript-pdf-npm)
* [GitHub issues](https://github.com/syncfusion/ej2-javascript-ui-controls/issues/new)
* [Request feature or report bug](https://www.syncfusion.com/feedback/document-sdk?utm_source=npm&utm_medium=listing&utm_campaign=javascript-pdf-npm)
* Live chat

## Changelog

Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/pdf/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=javascript-pdf-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.

## License and copyright

> This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this component, is subject to the terms and conditions of Syncfusion<sup>®</sup> [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 140+ [JavaScript UI controls](https://www.syncfusion.com/javascript-ui-controls), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).

> A [free community license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

© Copyright 2026 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.

---
_Source: https://npm.io/package/@syncfusion/ej2-pdf · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
