Secure Classified Data via Redaction API

‎Redact, hide or remove sensitive content & metadata from documents, worksheets, presentations, PDF and raster image files using .NET API.

Download Free Trial

GroupDocs.Redaction for .NET is an API library that helps you erase sensitive and classified data from ‎various file formats, such as, Microsoft Word, Excel, PowerPoint and PDF. Our Redaction API’s single ‎format-independent interface supports redaction of various types, e.g., text redaction, metadata ‎redaction, annotation redaction, and tabular document redaction. GroupDocs.Redaction for .NET API ‎also allows you to redact password protected files. You are allowed to save the document in its original ‎format as well as create a sanitized PDF document with raster images of original pages.

GroupDocs.Redaction for .NET Features

Perform case-sensitive search for exact phrase redaction

Use color box to hide redacted text instead of string replacement

Locate & redact out any text using regular expression search

Filter all or any combination of classified metadata information of document

Quickly erase complete metadata information of specific document

Set a scope of the redaction to a specific worksheet and/or column in Excel

Remove all or specific comments and other annotations from the document

Search & remove sensitive data from the annotation text‎

Ability to work with your own formats & redactions

Support for raster image formats and image region redactions

Specify a set of redaction rules (policy) in XML file

Specify Pages Range and PDF Compliance Level while Conversion to PDF

Edit or Delete EXIF Metadata from Image Files

Redact Embedded Images inside the PDF, Word & Presentation Documents

Save a Redaction Policy as an XML File

Redact your Classified Data with Ease & Control

GroupDocs.Redaction for .NET API grants you complete control over how you want to hide or erase ‎your important classified information from supported document. To use our Redaction API is pretty ‎simple and straight forward.

In following example, we load a supported document, redact out any ‎text, matching “2 digits, space or nothing, 2 digits, again space and 6 digits” (such as 12 34 567890) with a blue color box using ‎C#. Once that is done, it saves the document in its original format by renaming it with an added suffix “_Redacted”:‎

// Create an instance of Redactor class
using (Redactor redactor = new Redactor("sample.docx"))
  // Apply redaction
  redactor.Apply(new RegexRedaction("\\d{2}\\s*\\d{2}[^\\d]*\\d{6}", new ReplacementOptions(System.Drawing.Color.Blue)));

Support and Learning Resources

GroupDocs.Redaction offers document viewing APIs for other popular development environments

Back to top