JavaScript PDF Redaction Library

PSPDFKit for Web is a JavaScript library for permanently redacting content in PDF documents (not just obscuring it). It’s fully compatible with JavaScript and offers developers a robust API to automate redaction, as well as a beautiful UI for creating, previewing, and applying redactions in any JavaScript-based web app.

Key Capabilities

Create, Preview, and Apply

Programmatically or using the UI

True Redaction

Permanently remove content (not just obscure it)

Search and Redact

For strings, preset patterns, or regex

Client-Side

Redact directly in the browser (no server needed)

Customizable

Trigger workflows, adjust colors, and overlay text

Browser Support

Works on all modern browsers and devices

Extendable

Add editing, bookmarks, OCR, and more

Introduction to Redaction

Redaction is the process of removing image, text, and vector content from a PDF page. This not only involves obscuring the content, but also removing the data in the document within the specified region.

Framework Support

PSPDFKit for Web is compatible with any JavaScript framework, including React, Angular, Vue.js, Svelte, Blazor, Next.js, TypeScript, and Nuxt.js. It’s also compatible with ASP.NET, PHP, Laravel, and HTML5. It just needs a DOM container to append the viewer, which is possible with any framework.

Free Trial

Start your free trial for unlimited access and expert support.