WinMerge

WinMerge ProjectOpen source (GPL)Windows

Open source tool that compares and merges text files and folders side by side, highlighting every difference before you deploy a change.

WinMerge comparing two versions of a C++ source file side by side, with changed lines highlighted in yellow and red
WinMerge on Windows. Screenshot from the official site.

What it does

  • Side-by-side comparison of files with highlighted differences
  • Folder comparison that lists added, removed and changed files
  • Merge tools to copy selected changes from one side to the other
  • A location pane for jumping between differences in long files

WinMerge shows exactly what changed between two files or two folders. It is a practical way to review configuration files, scripts and exported reports before you deploy a change.

Who it is for

WinMerge suits anyone who edits text configuration on Windows: script authors, Group Policy reviewers and administrators who keep dated copies of settings. It works without a server.

Install and first run

  1. Download the installer from the official downloads page and run it.
  2. Choose File → Open and select the original file on the left and the new file on the right.
  3. Review each highlighted block. Use the arrows to move between differences.
  4. Use the merge arrows to copy only the lines you intend, then save the merged file under a new name.

The process, with safety steps, is in the configuration comparison guide.

Practical notes

  • Compare folders to review a whole deployment at once, such as a test copy against production.
  • Keep a dated copy of the original before you merge, so you can roll back.
  • Check encoding and line endings when a diff looks wrong. Most surprises come from these.

Common tasks

Questions and answers

Why does every line show as changed?

The two files probably use different line endings, such as Windows CRLF and Unix LF, or one has a different encoding. Check the status bar in WinMerge and convert one copy before you compare.

Can WinMerge compare Word or PDF files?

WinMerge is built for text files. Use it for scripts, configuration, XML and CSV. Binary files show only as different, without a readable diff.

Does WinMerge change files when I just compare them?

No. Comparing is read-only. Changes are made only when you use a merge action and save.

Can I use it for Group Policy exports?

Yes. Export both versions as XML or text with the same report type, then compare them. See the GPO export guide for the commands.