Skip to content
| Marketplace
Sign in
Visual Studio>Controls>GroupDocs.Comparison for .NET
GroupDocs.Comparison for .NET

GroupDocs.Comparison for .NET

GroupDocs

|
170 clicks
| (0) | Free Trial
Compare documents, retrieve list of changes, apply or reject changes for 55+ document formats including PDF, DOCX, XLSX, PPTX, ODT, OTT, ODP and many others.
Get Started

.NET Document Comparison API

Nuget Nuget

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

On-premise library to compare documents in applications based on .NET platform. Retrieve the list of changes in the desired format with a line-by-line comparison of content, paragraphs, characters, styles, shapes, and position.

Document Comparison Features

  • Compare and detect differences among similar documents.
  • Support for 55+ popular document formats from various categories.
  • Visual separation of detected changes with the ability to accept or reject modifications.
  • Generate document preview.
  • Compare paragraph, word as well as characters.
  • Identify content styling and formatting changes.
  • Set metadata from the source, target files or keep it user-defined.
  • Make the resultant document password protected.

Supported Microsoft Office Formats

Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLS, XLT, XLSX, XLTM, XLSB, XLSM, XLSX, CSV
Microsoft PowerPoint: POT, POTX, PPS, PPSX, PPTX, PPT
Microsoft OneNote: ONE
Microsoft Visio: VSDX, VSD, VSS, VST, VDX

Other Supported Formats

OpenDocument: ODT, ODP, OTP, ODS, OTT
Fixed Layout: PDF
AutoCAD: DWG, DXF
Email: EML, EMLX, MSG
Images: BMP, GIF, JPG, JPEG, PNG
Web: HTM, HTML, MHT, MHTML
Text: RTF, TXT
eBook: MOBI, DjVu
Medical Imaging: DCM
Programming Language: CS, JAVA, CPP, JS, PY, RB

Develop & Deploy GroupDocs.Comparison Anywhere

Microsoft Windows: Windows Azure, Microsoft Windows Desktop (x86, x64), Microsoft Windows Server (x86, x64)
macOS: Mac OS X
Linux: Ubuntu, OpenSUSE, CentOS, and others
Development Environments: Microsoft Visual Studio (2010 & up), Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop 2.4 and later
Supported Frameworks: .NET Standard 2.0, .NET Framework 2.0 or higher, .NET Core 2.0 or higher, Mono Framework 1.2 or higher

Get Started

Are you ready to give GroupDocs.Comparison for .NET a try? Simply execute Install-Package GroupDocs.Comparison from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Comparison assembly in your project. If you already have GroupDocs.Comparison for .NET and want to upgrade it, please execute Update-Package GroupDocs.Comparison to get the latest version.

Compare Password Protected DOCX Files using C# Code

using(Comparer comparer = new Comparer("source.docx", new LoadOptions() {
    Password = "1234"
})) {
    comparer.Add("target1.docx", new LoadOptions() {
        Password = "5678"
    });
    comparer.Add("target2.docx", new LoadOptions() {
        Password = "5678"
    });
    comparer.Add("target3.docx", new LoadOptions() {
        Password = "5678"
    });
    comparer.Compare("result.docx");
}

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft