Redact XLS Files via C# in .NET Core Apps

Search & Replace Text in Office & OpenOffice Documents, Spreadsheets & Presentations as well as XLS on Windows, Linux & macOS


Document Redaction for .NET API

A single format-independent interface for redacting sensitive and classified information from the PDF, Word, Excel, PowerPoint documents and images, including the ability to change metadata and remove comments. With GroupDocs.Redaction for .NET tool you can redact text and save redacted document in PDF, transforming all pages into raster images or keep the document in its original format for further editing.

Redact Exact Text from XLS via C#

GroupDocs.Redaction makes it easy for .NET developers to add XLS file redaction feature with a few easy steps.

Get Started with Redaction API

Install from command line as nuget install GroupDocs.Redaction or via Package Manager Console of Visual Studio with Install-Package GroupDocs.Redaction. Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads, and reference it in your project manually.

using (Redactor redactor = new Redactor(@"sample.xls"))
{
	redactor.Apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]")));
	redactor.Save();
}

XLS Redaction Live Demo

Checkout the free online demo for XLS Redaction.

No need to set up

No need to write any code

Just upload the source file

Get the download link

What is XLS File Format?

Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. File saved by Excel is known as Workbook where each workbook can have one or more worksheets. Data is stored and displayed to users in table format in worksheet and can span numeric values, text data, formulas, external data connections, images, and charts. Applications like Microsoft Excel lets you export workbook data to several different formats including PDF, CSV, XLSX, TXT, HTML, XPS, and several others. The XLS file format was replaced with a more open and structured format, XLSX, with the release of Microsoft Excel 2007. The latest versions still provide support for creating and reading XLS files, though XLSX is the first choice of use now.

Read More

Other Redaction Options

CSV Redaction

(Comma Seperated Values)

DOC Redaction

(Microsoft Word Binary Format)

DOCM Redaction

(Microsoft Word 2007 Marco File)

DOCX Redaction

(Office 2007+ Word Document)

DOT Redaction

(Microsoft Word Template Files)

DOTM Redaction

(Microsoft Word 2007+ Template File)

DOTX Redaction

(Microsoft Word Template File )

PDF Redaction

(Portable Document Format)

POT Redaction

(Microsoft PowerPoint Template Files)

POTM Redaction

(Microsoft PowerPoint Template File)

PPS Redaction

(PowerPoint Slide Show)

PPSM Redaction

(Macro-enabled Slide Show)

PPSX Redaction

(PowerPoint Slide Show)

PPT Redaction

(Microsoft PowerPoint 97-2003)

PPTM Redaction

(Macro-enabled Presentation File)

PPTX Redaction

(Open XML presentation Format)

RTF Redaction

(Rich Text Format)

XLSM Redaction

(Macro-enabled Spreadsheet)

XLSX Redaction

(Open XML Workbook)

XLT Redaction

(Excel 97 - 2003 Template)

XLTM Redaction

(Excel Macro-Enabled Template)

XLTX Redaction

(Excel Template)

Back to top
 English