Latest release (Jun 2026)

The latest release of GroupDocs.Redaction for Python via .NET is version 26.6 (June 2026), shipped as a self-contained Python wheel on PyPI. It permanently removes sensitive content from documents — redact text by exact phrase or regular expression, scrub or rewrite metadata, black out image areas, rewrite or delete annotations, remove pages, and rasterize the result so redacted content cannot be recovered — all on-premise, with no MS Office, OpenOffice, or separate .NET runtime required.

Installation

pip install groupdocs-redaction-net

Highlights

  • Text redaction — replace or box text matched by an exact phrase (case-sensitive or RTL-aware) or a regular expression.
  • Metadata redaction — erase metadata wholesale or by filter, or rewrite values that match a pattern.
  • Image-area, annotation & page redaction — black out page regions, rewrite or delete annotations, and remove pages.
  • Rasterization to PDF — flatten the redacted document to a PDF (with anti-extraction effects and PDF/A compliance) so redacted content cannot be recovered.
  • Reusable redaction policies — build a policy in memory or load it from XML and apply it across many documents.
  • Pythonic, AI-friendly APIsnake_case members, context managers, and a bundled AGENTS.md for AI coding assistants.

Quick start

from groupdocs.redaction import Redactor
from groupdocs.redaction.redactions import ExactPhraseRedaction, ReplacementOptions

with Redactor("document.docx") as redactor:
    redactor.apply(ExactPhraseRedaction("John Doe", ReplacementOptions("[personal]")))
    redactor.save()

For the full list of features, supported formats, public API surface, and evaluation limits, see the complete release notes:

➡️ GroupDocs.Redaction for Python via .NET 26.6 Release Notes