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

Remove sensitive data from 40+ document and image formats with text, image, metadata, annotation and page redaction APIs

GroupDocs.Redaction is an on-premise document redaction API that permanently removes private content from PDF, Word, Excel, PowerPoint, OpenDocument, image, HTML and text files while keeping their formats intact. Redact text by exact phrase or regular expression, text in scans through the OCR engine of your choice, metadata, comments, and areas of images and pages, then save the result in its own format or as a rasterized PDF from which nothing can be recovered.

Product Page Docs Demos API Blog Search Support Temp License

Latest Redaction News & Updates

  • NEW: Released GroupDocs.Redaction for Python via .NET 26.11 on PyPI, on the 26.10 engine and .NET 10: rasterized PDF output and image-area redaction now work on Linux and macOS with no libgdiplus, and OCR connectors, page previews, redaction callbacks and loggers are Python objects and functions.
  • Released GroupDocs.Redaction.Mcp 26.9, an MCP server that lets AI agents (Claude, Cursor, GitHub Copilot) redact documents locally: files never leave your machine. Get started.
  • Published GroupDocs.Redaction 26.10 for .NET on NuGet: builds for .NET 6, 8 and 10 on Windows, an evaluation mode of 25 documents per process, and patched cryptography packages.
  • Published GroupDocs.Redaction 26.10 for Java and for Node.js via Java: OOXML compliance for Word documents, XLT, XLTX, XLTM and TAB spreadsheets, and custom handlers for page-area redaction.

Supported Platforms & Repository Groups

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

High-performance on-premise redaction for PDF, Office, OpenDocument and image files, with text, image, annotation, metadata and page redaction. dotnet add package GroupDocs.Redaction

// Redact a customer's name and remove the comments of a Word document
using (Redactor redactor = new Redactor("sample.docx"))
{
    redactor.Apply(new ExactPhraseRedaction("Emily Johnson", new ReplacementOptions("[personal]")));
    redactor.Apply(new DeleteAnnotationRedaction());
    redactor.Save();
}

Java Document Redaction (Maven, Spring Boot)

Native Java library with the same redactions, from the GroupDocs Maven repository: com.groupdocs:groupdocs-redaction:26.11.

// Black out account numbers in a PDF
final Redactor redactor = new Redactor("statement.pdf");
try {
    redactor.apply(new RegexRedaction("\\d{2}\\s*\\d{2}[^\\d]*\\d{6}", new ReplacementOptions("[account]")));
    redactor.save();
} finally {
    redactor.close();
}

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

The Java engine from Node.js. npm install @groupdocs/groupdocs.redaction

// Black out account numbers in a PDF (Node.js via Java)
import { Redactor } from '@groupdocs/groupdocs.redaction'
import java from 'java'

const RegexRedaction = java.import('com.groupdocs.redaction.redactions.RegexRedaction')
const ReplacementOptions = java.import('com.groupdocs.redaction.redactions.ReplacementOptions')

const redactor = new Redactor('statement.pdf')
try {
  redactor.apply(new RegexRedaction('\\d{2}\\s*\\d{2}[^\\d]*\\d{6}', new ReplacementOptions('[account]')))
  redactor.save()
} finally {
  redactor.close()
}

Python Document Redaction (Python via .NET)

The .NET engine from Python 3.5 to 3.14, on Windows, Linux and macOS, with the runtime embedded. pip install groupdocs-redaction-net

# Redact a name and erase the metadata of a document (Python via .NET)
from groupdocs.redaction import Redactor
from groupdocs.redaction.redactions import EraseMetadataRedaction, ExactPhraseRedaction, MetadataFilters, ReplacementOptions

with Redactor("sample.docx") as redactor:
    redactor.apply(ExactPhraseRedaction("Emily Johnson", ReplacementOptions("[personal]")))
    redactor.apply(EraseMetadataRedaction(MetadataFilters.ALL))
    redactor.save()

MCP Server for AI Agents (Claude, Cursor, Copilot)

Let AI agents redact documents through the GroupDocs engine, locally over MCP: no uploads, no cloud; it runs in evaluation mode out of the box and with your existing license.

# Install and run in one command (.NET 10), then just ask your agent:
dnx GroupDocs.Redaction.Mcp --yes

"Redact every phone number and e-mail address in contract.pdf." "Remove the comments and the author from report.docx before I send it."

📘 MCP documentation · 📦 NuGet

Business Use-Cases

  • PII and PHI removal: Share compliance-ready documents (GDPR, HIPAA, CCPA).
  • Legal production: Redact privileged phrases and comments across a production set.
  • Financial documents: Remove account numbers from statements and invoices, cell by cell or column by column.
  • Scanned records: Redact names in scanned forms through your OCR engine.
  • Publishing: Erase authors, companies and other hidden metadata before release.

✅ API Key Features & Benefits

  • 40+ formats: PDF, DOCX, DOC, RTF, ODT, XLSX, XLS, ODS, CSV, PPTX, PPT, ODP, JPEG, PNG, TIFF, WEBP, HTML, Markdown and more.
  • Text redaction: Exact phrases, case-sensitive or not, and regular expressions, replaced with text or covered with a box.
  • Text in images: Scans and embedded images through an OCR connector, such as Tesseract.
  • Metadata, comments and pages: Erase or rewrite properties, delete or rewrite annotations, remove pages.
  • Image and page areas: Cover regions of images and pages.
  • Irreversible output: Rasterize the result to PDF, with PDF/A compliance.
  • Policies and review: Reusable redaction policies, and a callback that approves or rejects each match.

🆘 Technical Support & Resources

🏷️ Tags

python mcp mcp-server ai-agents document-redaction redaction-api pdf-redaction docx-redaction excel-redaction image-redaction ocr-redaction metadata-removal pii-removal gdpr hipaa data-sanitization rasterized-pdf on-premise dotnet java nodejs

Pinned Loading

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

    GroupDocs.Redation for .NET samples, plugins and showcase

    7 2

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

    GroupDocs.Redation for Java - Code Examples

    Shell 5

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

    Public documentation for GroupDocs.Redaction

    Batchfile 6

Repositories

Showing 10 of 17 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…