Skip to content
@groupdocs-redaction

GroupDocs.Redaction Product Family

Remove or hide private information from Microsoft Office documents, spreadsheets, presentations, PDF and images

GroupDocs.Redaction

Protect sensitive content in 30+ document formats with text, image, annotation, and metadata redaction APIs

GroupDocs.Redaction is an on-premise document redaction API that removes or masks private content across PDFs, Office files, images, and emails while keeping formats intact. Automate compliance-safe sharing by redacting text, pictures, comments, annotations, and hidden metadata with granular rules and rasterized outputs.

Product Page Docs Demos API Blog Search Support Temp License

Latest Redaction News & Updates

Supported Platforms & Repository Groups

.NET Document Redaction (C#, ASP.NET, Services)

High-performance on-premise redaction library for PDFs, Office documents, images, and emails with text, image, annotation, and metadata scrubbing.

// Case-sensitive phrase redaction in DOCX
using (Redactor redactor = new Redactor(@"sample.docx"))
{
  redactor.Apply(new ExactPhraseRedaction("John Doe", true, new ReplacementOptions("[personal]")));
  redactor.Apply(new AnnotationRedaction("(?im:john)", "[redacted]"));
  redactor.Save();
}

Node.js Document Redaction (Node.js via Java)

Use the Java engine from Node.js to redact PDF/Office/Images with regex and area rules.

// Redact a phrase and an annotation string in PDF (Node.js via Java)
const {
  Redactor,
  ExactPhraseRedaction,
  AnnotationRedaction,
  ReplacementOptions
} = require('groupdocs-redaction');

const redactor = new Redactor('sample.pdf');
redactor.apply(new ExactPhraseRedaction('John Doe', true, new ReplacementOptions('[personal]')));
redactor.apply(new AnnotationRedaction('(?im:john)', '[redacted]'));
redactor.save();

Python Document Redaction (Python via .NET)

Call the .NET engine from Python to automate redaction pipelines on Windows/Linux.

# Redact a phrase and annotation text in DOCX (Python via .NET)
from groupdocs.redaction import Redactor, ExactPhraseRedaction, AnnotationRedaction, ReplacementOptions

with Redactor("sample.docx") as redactor:
    redactor.apply(ExactPhraseRedaction("John Doe", True, ReplacementOptions("[personal]")))
    redactor.apply(AnnotationRedaction("(?im:john)", "[redacted]"))
    redactor.save()

Business Use-Cases

  • PII/PHI removal for compliance-ready document sharing (GDPR, HIPAA, SOC2).
  • Legal document production with targeted phrase and annotation cleanup.
  • Financial statements and invoices with selective cell/column redaction.
  • Email and PDF repository sanitization with metadata removal and audit logs.
  • Government forms and permit packages requiring consistent redaction rules.

API Key Features & Benefits

  • 30+ formats: PDF, DOCX/DOTX, XLSX, PPTX, TIFF/PNG/JPG, MSG/EML, TXT/RTF, and more.
  • Redaction types: text (case-sensitive/regex), image area overlay, annotation cleanup, metadata removal/replacement.
  • Worksheet/column targeting for spreadsheets; preserve original format or export rasterized PDF for irreversible protection.
  • Compliance-ready output: switch PDF/A compliance levels when saving as rasterized PDF.
  • Cross-platform: build on Windows/Linux/macOS with .NET Framework 4.6.2+, .NET Core 3.1+, or .NET 6+.
  • Performance-focused: batch rules, reusable configurations, and consistent results across repositories.

Getting Started

  • Install via NuGet: Install-Package GroupDocs.Redaction or dotnet add package GroupDocs.Redaction
  • Clone samples: git clone https://github.com/groupdocs-redaction/GroupDocs.Redaction-for-.NET.git
  • Open Examples/GroupDocs.Redaction.Examples.CSharp.sln in Visual Studio or run from CLI.
  • Set license in Constants.cs or request a temporary license for full evaluation.
  • Run examples and inspect outputs under Examples/GroupDocs.Redaction.Examples.CSharp.Core/bin/Output.

Technical Support & Resources

Tags

document-redaction pdf-redaction office-redaction text-redaction image-redaction annotation-redaction metadata-cleanup pii-removal phi-protection compliance gdpr hipaa sox pii-masking pdf-sanitization document-security sensitive-data-protection rasterized-pdf regex-redaction spreadsheet-redaction email-redaction

Pinned Loading

  1. GroupDocs.Redaction-for-.NET GroupDocs.Redaction-for-.NET Public

    GroupDocs.Redation for .NET samples, plugins and showcase

    C# 7 2

  2. GroupDocs.Redaction-for-Java GroupDocs.Redaction-for-Java Public

    GroupDocs.Redation for Java - Code Examples

    5

  3. GroupDocs.Redaction-Docs GroupDocs.Redaction-Docs Public

    Public documentation for GroupDocs.Redaction

    Batchfile 6

  4. GroupDocs.Redaction-Products GroupDocs.Redaction-Products Public

    Batchfile 4

Repositories

Showing 10 of 10 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…