What is WinMerge?
- Using our free online compare tool is simple: Upload an older/base file with the left button. Upload a newer/target file with the right button.
- 'Diff Doc- Document Comparison': 'I've been using Diff Doc for a number of years, and it's an excellent tool for comparing documents. I like the side-by-side view especially. It supports a large list of documents types - not only basics like MS Word and the other Office doc types, but pdf files and others. I highly recommend Diff Doc.
- Compare docx, pdf, doc, html, md, rtf, odt, txt, mobi, mhtml, xhtml Quickly compare two versions of a document and view the difference Compare different file formats.
How To Use Text Comparison Tool. Our online text compare supports all popular type of document including word documents (.doc /.docx),.PDF, HTML and.txt files. You can also enter plain texts or webpage URLs to check similar text in both values.
WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.
Screenshot
See the screenshots page for more screenshots.
Features
WinMerge is highly useful for determining what has changed between project versions, and then merging changes between versions. WinMerge can be used as an external differencing/merging tool or as a standalone application.
In addition, WinMerge has many helpful supporting features that make comparing, synchronising, and merging as easy and useful as possible:
General
- Supports Microsoft Windows XP or newer
- Handles Windows, Unix and Mac text file formats
- Unicode support
- Tabbed interface
File Compare
- 3-way File Comparison New!
- Visual differencing and merging of text files
- Flexible editor with syntax highlighting, line numbers and word-wrap
- Highlights differences inside lines
- Difference pane shows current difference in two vertical panes
- Location pane shows map of files compared
- Moved lines detection
Folder Compare
- Regular Expression based file filters allow excluding and including items
- Fast compare using file sizes and dates
- Compares one folder or includes all subfolders
- Can show folder compare results in a tree-style view
- 3-way Folder Comparison
Image Compare New!
- Support many types of images
- Can highlight the differences with blocks
- Overlaying of the pictures is possible
Table Compare New!
- Shows CSV/TSV file contents in table format
- Text can be wrapped for each column
Version Control
- Creates patch files (Normal-, Context- and Unified formats)
- Resolve conflict files
Other
- Shell Integration (supports 64-bit Windows versions)
- Archive file support using 7-Zip
- Plugin support
- Localizable interface
- Online manual and installed HTML Help manual
WinMerge 2.16.8 - latest stable version
WinMerge 2.16.8 is the latest stable version, and is recommended for most users.
Project News
- WinMerge 2.16.4 (stable) released2019-08-02
- WinMerge 2.16.2 (stable) released2019-04-04
- WinMerge 2.16.0 (stable) released2018-11-27
- A sign of life from WinMerge2018-01-29
- WinMerge 2.14.0 (stable) released2013-02-03
Support
If you need support, look at our support page for more information how you can get it.
Developers
WinMerge is an open source project, which means that the program is maintained and developed by volunteers.
In addition, WinMerge is translated into a number of different languages. See our information on translating WinMerge into your own language.
The GroupDocs.Comparison for .NET is a C# library which allows you to compare documents and find differences. Compare and merge Microsoft Word, Excel, PowerPoint, OpenDocument, PDF, Text, HTML and many other documents, retrieve a list of changes between source and target document(s), apply or reject changes and save results with GroupDocs.Comparison API. In addition to this, GroupDocs.Comparison can identify styling and formatting changes – like bold, italic, underlines, strikethroughs, font types, etc.
Changes detection algorithms used by GroupDocs.Comparison allows to detect differences in different document parts and blocks:
Docx Compare Tool Boxes
- Text blocks – paragraphs, words and characters;
- Tables;
- Images;
- Shapes etc.
Here are simple steps to compare two text files and show differences:
- Instantiate Comparer object with source document path or stream;
- Call Add method and specify the target document path or stream;
- Call Compare method.
The following code snippet demonstrates the simplest case of documents comparison using a couple lines of code.
Compare documents from local file
Compare documents from the stream
Let’s say you have two contracts in DOCX format that were concluded in different years. If you use the above code to compare these contracts, you get a DOCX file where the deleted elements are marked in red, the added in blue, and the modified in green as shown below:
Accept or Reject detected differences
Akon acapella downloads. GroupDocs.Comparison provides an ability to apply or discard specific changes between source and target documents and save the resultant document with (or without) selected changes.
The following are the steps to apply/reject changes to the resultant document.
- Instantiate Comparer object with source document path or stream;
- Call Add method and specify path target document path or stream;
- Call Compare method;
- Call GetChanges method and obtain detected changes list;
- Set ComparisonAction of needed change object to ComparisonAction.Accept or ComparisonAction.Reject value;
- Call ApplyChanges method and pass collection of changes to it.
The following code sample shows how to accept/reject detected differences.
Generate document pages preview
Docx Comparison Tool
GroupDocs.Comparison allows to generate page previews for source, target and resultant document(s) using GeneratePreview method of a Document class.
PreviewOptions class is used to manage preview generation process – specify desired page numbers, image format etc.
The following are the steps to generate a document preview with GroupDocs.Comparison API:
- Create a new instance of Comparer class and pass the source document path as a constructor parameter;
- Add target document(s) to comparison using Add method;
- Source and Targets properties of Comparer object allows to access source and target documents and provides GeneratePreview method;
- Instantiate the PreviewOptions object with:
- delegate for each page stream creation (see event handler CreatePageStream);
- image preview format – PNG / JPG / BMP;
- page numbers to process;
- custom size of preview images (if needed).
- Call GeneratePreview method of Source and Targets document and pass PreviewOptions to it.
Get page previews for resultant document
Compare multiple documents
GroupDocs.Comparison allows comparing more than two documents. The following code sample shows how to compare multiple documents programmatically.
Docx Viewer Tool
Installation
NuGet is the easiest way to download and install GroupDocs.Comparison for .NET. Please get a temporary license to test the library without any functional restrictions.
Software To Open Docx File
Please check the documentation to learn more about the library. We also offer free technical support so please feel free to contact us – we will be happy to help.