JavaScript PDF Annotation Library

PSPDFKit for Web is a JavaScript library for creating, removing, and editing PDF annotations. It offers developers a robust API for programmatic annotation management, as well as a beautiful UI for working with 17 PDF annotation types.

Key Capabilities

17 Annotation Types

Highlight, text, ink, note, shape, and more

Create, Edit, Remove

Programmatically or by using the UI

Import and Export

Manage annotations in XFDF or JSON files

Annotation Events

Trigger workflows or automations

Cloudy Annotations

Cloudy border effect

Custom Appearances

Replace or enhance annotation rendering


To a server, multiple users, devices, or sessions

Customizable UI

Hide annotation types or create custom tooltips


Add signing, editing, forms, and more

What Are Annotations?

Content displayed as a PDF page isn’t suitable for easy editing, but the PDF specification defines a comprehensive set of objects that can be added to PDF pages without changing the page content. These objects are called annotations, and their purpose ranges from marking up page content to implementing interactive features such as forms.

Essential Guides


Saving and Storing Annotations

Import and Export

Create, Edit, Remove


Framework Support

PSPDFKit for Web is compatible with any JavaScript framework, including React, Angular, Vue.js, Svelte, Next.js, TypeScript, Nuxt.js, and Blazor. It’s also compatible with ASP.NET, PHP, Laravel, and HTML5.

Free Trial

Enjoy unlimited trial usage of all our products. Get guidance and tech support from developers who built the product, and get started within minutes.