Top Benefits of GroupDocs.Redaction for .NET

Metadata Protection in EXCEL Files via .NET

Using C#, you can clean sensitive data from EXCEL files. Tools designed to keep your information protected.

Clear Metadata in Excel Files

Use GroupDocs.Redaction in your .NET projects to handle document metadata securely.

  1. Create a Redactor object and load the target Excel file.
  2. Configure redaction to clear hidden metadata.
  3. Run the cleanup process.
  4. Save the final version.
// Clean metadata from EXCEL

// Initialize redactor and load file
using (Redactor redactor  = new Redactor("input.xslx"))
{
    // Set removal options for metadata
    var redaction = new EraseMetadataRedaction(MetadataFilters.All);
    
    // Redact and save the result
    redactor.Apply(redaction);
    redactor.Save();
}
dotnet add package GroupDocs.Redaction
click to copy
copied
More examples Documentation

Erase Private Data in Your Files

GroupDocs.Redaction for .NET allows you to clean text, images, and metadata in multiple formats. Ideal for personal, legal, and corporate documents.

Metadata Removal Tools

Search and Remove Text

Find personal or confidential text in documents and remove it safely.

Hide Visual Elements

Overlay sensitive parts of images to prevent viewing.

Remove Metadata

Erase embedded data that may leak sensitive information.

Target Metadata for Redaction

Learn how to locate and remove metadata like Author or Title from a EXCEL document.

C#

//  Import the document to the redactor
using (Redactor redactor  = new Redactor("source.xslx"))
{
    // Target Author metadata
    MetadataSearchRedaction redactionAuthor = 
        new MetadataSearchRedaction(@"[A-Za-z0-9 ]+", "GroupDocs Company")
    {
        Filter = MetadataFilters.Author
    };

    // Target Title metadata
    MetadataSearchRedaction redactionTitle = 
        new MetadataSearchRedaction(@"[A-Za-z0-9 ]+", "GroupDocs.Redaction Usage")
    {
        Filter = MetadataFilters.Title
    };

    // Apply changes
    var redactions = new MetadataSearchRedaction[] { redactionAuthor, redactionTitle };
    redactor.Apply(redactions);

    // Save the updated document
    var saveOptions = new SaveOptions() { AddSuffix = true, RasterizeToPDF = false };
    var outputPath = redactor.Save(saveOptions);
}
dotnet add package GroupDocs.Redaction
click to copy
copied
More examples Documentation

What Is GroupDocs.Redaction for .NET?

GroupDocs.Redaction offers a reliable way for C# developers to manage redaction in EXCEL files. It works with text, images, and metadata.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Redaction for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Remove Metadata in EXCEL Using .NET

Get rid of private metadata in EXCEL files with .NET. Keep your documents clean and safe.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English