PDF Viewer SDK
Integrate a comprehensive PDF viewer with editing capabilities into web applications. The PDF Viewer SDK is a TypeScript and JavaScript development library designed to work across multiple browsers. It also supports integration with libraries like React and frameworks such as Angular.
See the PDF Viewer SDK in action in the online demo.
Functionality
With the PDF Viewer SDK, you can work with PDFs directly on the client, without the need for a server-side PDF library. The PDF Viewer SDK provides the following functionality:
Viewing
- Render PDF documents with high fidelity.
- Navigate pages.
- Zoom and scroll through documents.
- Configure fit mode and page layout mode.
Search
- Search text within documents.
- Highlight and navigate search results.
Annotations
- Add, edit, and delete annotations.
- Supported types: highlight, underline, strikeout, squiggly, sticky notes, free text, shapes (rectangle and ellipse), lines and arrows, ink, clouds, stamps, and images.
- Redact content: create redaction annotations by selecting text or drawing areas, then apply them to download a permanently redacted document.
Forms
- Fill in PDF form fields: text boxes, checkboxes, radio buttons, and combo and list boxes.
Document operations
- Open documents from URL, file, or memory.
- Save and download documents as PDF or FDF, with or without changes.
- Print documents with high fidelity using configurable DPI.
- Access document metadata and page information.
Customization
- Build custom plugins for extended functionality.
- Customize buttons and their behaviors.
- Listen to and dispatch events programmatically.
- Customize the color theme with CSS variables.
- Localize the interface: switch locales at runtime, override translations, add custom languages, and auto-detect the browser language.
Packaging
The PDF Viewer SDK consists of two npm packages, the PDF Web Viewer and the PDF Web SDK:
PDF Web Viewer
The PDF Web Viewer is a ready-to-use, customizable viewer component featuring a complete user interface, including a toolbar, sidebar, and all standard PDF viewing and editing features. Customize the appearance with CSS, extend functionality with custom plugins, and integrate with your application through events. Use this package when you want to quickly integrate a full-featured PDF viewer into your application.
Try it out with Getting started with the PDF Viewer SDK.
PDF Web SDK
The PDF Web SDK provides a document view and the core rendering and document manipulation capabilities. Use this package when you need to build a completely custom viewer with your own interface.
Implement more complex use cases or build your own custom viewer using the advanced functionality of the PDF Web SDK. For more information, review advanced functionality.
License overview
The following table explains the pricing and feature offering available for various license types of the PDF Viewer SDK:
| No license | Free view-only | Trial | Professional | Business | Enterprise | |
|---|---|---|---|---|---|---|
| How to | No license key is need | Contact sales | Contact sales | Contact sales | Contact sales | Contact sales |
| Watermark | Yes | No | No | No | No | No |
| Feature sets | View-only | View-only | All | Select one | Select three | All |
| Domains | - | One | On demand | One | Three | On demand |
| Maximum concurrent users | 100 | 100 extensible | 100 extensible | 100 extensible | 1,000 extensible | Contract based |
Supported programming languages and frameworks
The PDF Viewer SDK is provided as a TypeScript and JavaScript library. It can be used in applications built with libraries like React and frameworks such as Angular.
Supported browsers
The PDF Viewer SDK is tested with and supported for the following browsers:
- Chrome 63+
- Edge 41+
- Firefox 55+
- Safari 11.0.3+
Supported PDF versions
The PDF Viewer SDK supports the following PDF versions:
| Version | Standard |
|---|---|
| PDF 1.x | PDF Reference 1.3 - 1.6 |
| PDF 1.7 | PDF 1.7 / ISO 32000-1 |
| PDF 2.0 | PDF 2.0 / ISO 32000-2 |
| PDF/A-1a | PDF/A-1a / ISO 19005-1 / Level A conformance |
| PDF/A-1b | PDF/A-1b / ISO 19005-1 / Level B conformance |
| PDF/A-2a | PDF/A-2a / ISO 19005-2 / Level A conformance |
| PDF/A-2b | PDF/A-2b / ISO 19005-2 / Level B conformance |
| PDF/A-2u | PDF/A-2u / ISO 19005-2 / Level U conformance |
| PDF/A-3a | PDF/A-3a / ISO 19005-3 / Level A conformance |
| PDF/A-3b | PDF/A-3b / ISO 19005-3 / Level B conformance |
| PDF/A-3u | PDF/A-3u / ISO 19005-3 / Level U conformance |
| FDF | included in above standards |
When saving changes, the PDF Viewer SDK saves the document in the same PDF version as the original file you opened. To convert documents between PDF versions, please use the: