Basic usage

On this page

Perform redactions on your documents with just a few lines of code. The topics below cover the core redaction operations using a local sample.docx (the same patterns apply to PDF, Excel, PowerPoint, and image files). Every example is runnable — copy the script, download the linked sample file, and run it.

In this section

For loading, saving, rasterization, policies, and filters, continue to Advanced Usage.

On this page