JavaScript PDF Redaction Library

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

Launch Demo

PSPDFKit SDKs are deployed in some of the world’s most popular applications, such as those made by PlanGrid, Disney, DocuSign, Dropbox, IBM, and Lufthansa.

Key Capabilities

  • Create, preview, apply — Programmatically or by 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

Guides for Redaction

Introduction to Redaction
Learn about the basics of PDF redaction

Programmatic Redaction
How to use the API to programmatically redact content from PDFs

Redact Preset Patterns
How to automate redaction by searching for preset text patterns

Redact Regex Patterns
How to automate redaction by using regex patterns in text search

Search and Redact
How to automatically create redactions based on search criteria

Built-In Redaction UI
Learn about the document operations available in the redaction UI

Free Trial

  • Unlimited trial usage

  • Guidance and tech support from developers

  • Get started