Svelte PDF Redaction Library
PSPDFKit for Web is a JavaScript library for permanently redacting content in PDF documents (not just obscuring it). It is fully compatible with Svelte and offers developers a robust API to automate redaction, as well as a beautiful UI for creating, previewing, and applying redactions in any Svelte-based web app.
PSPDFKit SDKs are deployed in some of the world’s most popular applications, such as those made by Autodesk, Disney, UBS, Dropbox, IBM, and Lufthansa.
Key Capabilities
-
Create, preview, 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
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
Enjoy unlimited trial usage of all our products. Get guidance and tech support from developers who built the product, and get started within minutes.
FAQ
Here are a few frequently asked questions about redaction in PSPDFKit for Web.
What types of content can be redacted with PSPDFKit for Web?
You can redact text and other content permanently from PDFs, ensuring it’s completely removed, and not just obscured.
How can I integrate redaction features into my app?
You can integrate redaction features using the robust API provided by PSPDFKit for Web.
Can redactions be applied automatically based on search criteria?
Yes, you can automate redactions by searching for text strings, preset patterns, or regex patterns.
Is it possible to customize the redaction process?
Yes, the redaction process is highly customizable, allowing you to adjust colors, overlay text, and trigger workflows.
Do I need server-side processing for redacting PDFs?
No, all redactions can be performed client side directly in the browser, with no server-side processing required.