Headless Redaction

It’s possible to apply redaction operations without the need to present any user interface (UI) to the user.


In Standalone mode of PSPDFKit for Web, you can perform the operation using JavaScript in the browser by setting the headless option as true when loading the JavaScript library. This indicates you don’t want a UI:

    // ...
    headless: true
.then((instance) => {
    // Apply your operations.

Once the SDK is loaded, you can apply any of our operations as normal.


When using the Server-Backed operational mode, a variety of operations are available server-side. See the Document Engine documentation for additional information.