If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
Upcoming Update Announcement:
Starting with the next release, GroupDocs.Redaction will support .NET Framework 4.6.2 instead of 4.5. This update aims to enhance security and performance. Please update your development environment accordingly.
Download C# Library to Redact Documents via .NET API
GroupDocs.Redaction for .NET is an API that helps you erase sensitive and classified data from various file formats, such as, Microsoft Word, Excel, PowerPoint and PDF. The API’s single format-independent interface supports redaction of various types, e.g., text redaction, metadata redaction, annotation redaction, and tabular document redaction. The API also allows saving the output document in its original format as well as in a sanitized PDF document with raster images of original pages.
Get Started
Open
NuGet package manager, search for GroupDocs.Redaction and install. You may also use the following command from the Package Manager Console.
Install
To install please execute Install-Package GroupDocs.Redaction from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Redaction assembly in your project.
Update
If you already have GroupDocs.Redaction for .Net and want to upgrade it, please execute Update-Package GroupDocs.Redaction to get the latest version.
.NET API for Redacting Sensitive Data
GroupDocs.Redaction for .NET is a powerful API designed to redact classified or sensitive data from a variety of document types within your .NET applications. It supports multiple redaction types including text, metadata, annotations, and image redactions. The API also integrates with OCR engines for redacting text within images and provides the ability to remove pages and embedded images, ensuring the comprehensive redaction of confidential information. GroupDocs.Redaction is highly versatile, supporting a wide range of document formats, making it an essential tool for any organization dealing with sensitive information.
Text Redactions
Exact Phrase Redaction
Search and redact specific phrases or text strings with case-sensitivity options.
Regex Redaction
Redact text based on regular expressions for flexible text matching.
Right-to-Left Support
Redaction of right-to-left text such as Arabic and Hebrew.
Remove all metadata from a document, such as author, date created, and comments.
Remove sensitive information from metadata fields using regular expressions.
Annotation Redactions
Delete Annotations
Remove annotations, comments, and other markup from documents.
Redact Annotation Text
Redact sensitive data in annotations while keeping the annotations intact.
Spreadsheet Redactions
Cell and Column Redaction
Redact specific cells or entire columns within Excel spreadsheets.
Filter by Worksheet
Apply redactions to specific worksheets in Excel files.
Image Redactions
Image Area Redaction
Cover specific areas of images, such as headers or footers, with a colored box.
OCR-Based Redaction
Use Optical Character Recognition (OCR) to recognize and redact text embedded in images.
EXIF Data Removal
Remove metadata (e.g., EXIF data) from images, acting as an “EXIF eraser.”
Page Redactions
Remove Pages
Remove specific pages from documents such as PDFs, slideshows, or spreadsheets.
Page Area Filters
Apply redactions to specific areas on a page using coordinates.
Embedded Image Redactions
Embedded Image Redaction
Redact embedded images in documents, including PDF, Microsoft Office, and OpenOffice files.
Rasterization
Convert to Raster Images
Redact sensitive data and save documents as raster images, making all data unsearchable.
Document Saving Options
Save redacted documents in either original format for further editing or in raster format for increased security.
Support for OCR Engines
Third-Party OCR Integration
Integrate third-party OCR engines (e.g., Aspose.OCR or Microsoft Azure Computer Vision API) to recognize and redact text from images or image-based PDFs.
Document Info Retrieval
Retrieve metadata and page counts for any document format.
The following table indicates the file formats supported by GroupDocs.Redaction for .NET.
Format | Description | Document body | Metadata | Annotations (comments) | Remarks | Embedded images | OCR | Remove Page | Page Filters |
---|
PDF | Saves the document as PDF (Adobe Portable Document) format | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ |
DOC | Microsoft Word 97 - 2007 Document. | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | |
DOT | Microsoft Word 97 - 2007 Template. | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | |
DOCX | Office Open XML WordprocessingML Document (macro-free) | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | |
DOCM | Office Open XML WordprocessingML Macro-Enabled Document | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | |
DOTX | Office Open XML WordprocessingML Template (macro-free) | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | |
DOTM | Office Open XML WordprocessingML Macro-Enabled Template | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | |
RTF | RTF format. | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | | |
XLSX | OOXML 2007-2010 | ✔️ | ✔️ | ✔️ | | | ✔️ | | |
XLSM | OOXML Macro Enabled Workbook | ✔️ | ✔️ | ✔️ | | | ✔️ | | |
XLTX | OOXML Workbook Template | ✔️ | ✔️ | ✔️ | | | ✔️ | | |
XLTM | OOXML Macro Enabled Workbook Template | ✔️ | ✔️ | ✔️ | | | ✔️ | | |
XLS | Excel Workbook 97-2003 | ✔️ | ✔️ | ✔️ | | | ✔️ | | |
XLT | Excel Workbook Template 97-2003 | ✔️ | ✔️ | ✔️ | | | ✔️ | | |
CSV | CSV (Comma Separated Value) file. | ✔️ | ✔️ | ✔️ | | | | | |
PPTX | OOXML Microsoft PowerPoint Presentations format | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ |
PPT | PowerPoint Presentation 97-2003 | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ |
PPSX | PowerPoint Open XML | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ |
POT | PowerPoint template files | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ |
PPS | Microsoft PowerPoint 97-2003 Slide Show | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ |
PPTM | Microsoft PowerPoint Open XML Macro-Enabled Presentation file | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ |
PPSM | Microsoft PowerPoint Open XML Macro-Enabled Slide Show file | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ |
POTM | Microsoft PowerPoint template | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ |
JPEG | The image file format was standardized by the Joint Photographic Experts Group. | ✔️ | ✔️ | | | ✔️ | | ✔️ | |
TIF/TIFF | Tagged Image File Format | ✔️ | ✔️ | | | ✔️ | ✔️ | ✔️ | |
PNG | Portable Network Graphics Image | ✔️ | ✔️ | | | ✔️ | | ✔️ | |
BMP | Bitmap Image Files | ✔️ | ✔️ | | | ✔️ | | ✔️ | |
GIF | Graphical Interchange Format Image | ✔️ | ✔️ | | | ✔️ | | | |
DJVU | DjVu Document Format | ✔️ | | | | ✔️ | | | |
System Requirements
Overview
- No external software required for GroupDocs.Redaction for .NET.
- Follow instructions in Development Environment, Installation, and Configuration.
Supported Operating Systems
- Windows: 2003, 2008, 2012, 2012 R2, 2016, 2019 Server, Vista, XP, 7, 8, 8.1, 10 (x64, x86)
- UNIX: Linux or any platform supporting .NET Core 3.1
Supported Frameworks
- .NET Frameworks: 2.0, 3.5, 4.0, 4.0_ClientProfile, 4.5.0, 4.5.1, 4.5.2, 4.6.0, 4.6.2, 4.7, 4.7.2, .NET Standard 2.0
- .NET Core Framework: 2.0 and later
Development Environments
- Visual Studio: 2010, 2011, 2012, 2013, 2015, 2017, 2019
Get Started with GroupDocs.Redaction for .NET
Below is an overview of the key steps and code examples that will help you begin using the API in your .NET applications.
Install GroupDocs.Redaction via NuGet
Package Manager GUI:
- Open your solution/project in Visual Studio.
- Navigate to Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution.
- Search for “GroupDocs.Redaction” and click “Install” to add the latest version to your project.
Package Manager Console:
- Open Package Manager Console in Visual Studio.
- Run the following command:
Install-Package GroupDocs.Redaction
Install from the Official GroupDocs Website
- Download the package from the official website.
- Unpack the archive or follow the MSI install wizard.
- In Solution Explorer, right-click the References node and select “Add Reference.”
- Locate and add the
GroupDocs.Redaction.dll
file.
Apply Exact Phrase Redaction
This code sample demonstrates how to apply an exact phrase redaction to a document, replacing a specific phrase with a custom string or a colored rectangle. This C# example shows how to redact sensitive information from a document by replacing exact phrases using GroupDocs.Redaction for .NET.
// Learn how to apply an exact phrase redaction to a document using GroupDocs.Redaction for .NET. Replace sensitive phrases with custom text or a color block.
// Import necessary namespaces
using GroupDocs.Redaction;
using GroupDocs.Redaction.Options;
namespace RedactionExample
{
class Program
{
static void Main(string[] args)
{
// Load the document from the local file system
using (Redactor redactor = new Redactor("sample.docx"))
{
// Apply an exact phrase redaction
// Replace "John Doe" with "[personal]" in the document
RedactorChangeLog result = redactor.Apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]")));
// Check if the redaction was applied successfully
if (result.Status != RedactionStatus.Failed)
{
// Save the redacted document
redactor.Save();
}
}
}
}
}
This example demonstrates how to remove sensitive data from a document’s metadata using a regular expression. It targets specific metadata fields like the author’s name. This C# example demonstrates how to redact metadata in a document by targeting specific fields such as the author’s name using GroupDocs.Redaction for .NET.
// Redact metadata in a document using GroupDocs.Redaction for .NET. Remove or replace sensitive metadata fields like author names.
// Import necessary namespaces
using GroupDocs.Redaction;
using GroupDocs.Redaction.Redactions;
using GroupDocs.Redaction.Options;
namespace RedactionExample
{
class Program
{
static void Main(string[] args)
{
// Load the document from the local file system
using (Redactor redactor = new Redactor("sample.docx"))
{
// Create a metadata redaction targeting the author's name
MetadataSearchRedaction redaction = new MetadataSearchRedaction("Company Ltd.", "--company--");
// Apply the redaction to the document's metadata
redactor.Apply(redaction);
// Save the redacted document
redactor.Save();
}
}
}
}
Redact Image Area in a Document
This C# example demonstrates how to redact a specific area of an image embedded in a document by placing a colored rectangle using GroupDocs.Redaction for .NET.
// Redact specific areas within images embedded in documents using GroupDocs.Redaction for .NET. Overlay colored rectangles on sensitive image regions.
// Import necessary namespaces
using GroupDocs.Redaction;
using GroupDocs.Redaction.Redactions;
using System.Drawing;
namespace RedactionExample
{
class Program
{
static void Main(string[] args)
{
// Load the document containing the image from the local file system
using (Redactor redactor = new Redactor("sample.docx"))
{
// Define the area of the image to be redacted (coordinates and size)
Point samplePoint = new Point(516, 311);
Size sampleSize = new Size(170, 35);
// Apply the redaction by placing a blue rectangle over the specified area
RedactorChangeLog result = redactor.Apply(new ImageAreaRedaction(samplePoint, new RegionReplacementOptions(Color.Blue, sampleSize)));
// Check if the redaction was applied successfully
if (result.Status != RedactionStatus.Failed)
{
// Save the redacted document
redactor.Save();
}
}XX
}
}
}
Please check the GitHub Repository for other common usage scenarios.
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 3/11/2023
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The assemblies are the same as in the MSI installer of the product of the same version. Download this if you want to use GroupDocs.Redaction for .NET without the MSI installer. This ZIP download does not contain the demo projects.
Added: 3/11/2023
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 18/8/2023
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The assemblies are the same as in the MSI installer of the product of the same version. Download this if you want to use GroupDocs.Redaction for .NET without the MSI installer. This ZIP download does not contain the demo projects.
Added: 18/8/2023
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 28/6/2023
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The assemblies are the same as in the MSI installer of the product of the same version. Download this if you want to use GroupDocs.Redaction for .NET without the MSI installer. This ZIP download does not contain the demo projects.
Added: 28/6/2023
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 24/3/2023
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The assemblies are the same as in the MSI installer of the product of the same version. Download this if you want to use GroupDocs.Redaction for .NET without the MSI installer. This ZIP download does not contain the demo projects.
Added: 24/3/2023
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 26/1/2023
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The assemblies are the same as in the MSI installer of the product of the same version. Download this if you want to use GroupDocs.Redaction for .NET without the MSI installer. This ZIP download does not contain the demo projects.
Added: 26/1/2023
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 8/25/2022
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 8/25/2022
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 7/19/2022
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 7/19/2022
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 9/22/2021
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 9/22/2021
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 3/31/2021
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 3/31/2021
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 1/29/2021
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 11/13/2020
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 1/29/2021
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 11/13/2020
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 9/30/2020
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 9/30/2020
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 7/30/2020
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 7/30/2020
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 2/28/2020
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 2/28/2020
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 12/25/2019
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 12/25/2019
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 9/25/2019
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 9/25/2019
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 5/30/2019
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 5/30/2019
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 3/12/2019
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 3/12/2019
Downloads:
This contains the MSI installer of GroupDocs.Redaction for .NET
Added: 1/31/2019
Downloads:
This ZIP file contains only the GroupDocs.Redaction for .NET assemblies. The ass...
Added: 1/31/2019
Downloads: