Skip to content

How-ToOS

How to Compare Files and Folders in Windows 11 with WinMerge

WinMerge is a free, open-source tool for seeing exactly what's different between two files or two folders on Windows 11. We show how to install it, compare files and folder trees, pick the right compare method, copy changes safely and automate it from the command line.

By , Systems & Technical Editor

5 min read

How to Compare Files and Folders in Windows 11 with WinMerge

Whether you're checking that a backup really matches the original, working out which copy of a document is newer, or tidying up two folders that have drifted apart, Windows 11 doesn't have a friendly built-in way to see exactly what's different. WinMerge is a free, open-source tool that does just that, for single files and whole folder trees.

This guide is based on the WinMerge website, downloads page, GitHub releases and the official WinMerge 2.16 manual, all checked on 4 December 2026.

What WinMerge is

The project describes WinMerge as "an Open Source differencing and merging tool for Windows". It can compare both files and folders, show the differences side by side, and copy changes from one side to the other. It's released under the GPL-2.0 licence, so it's free to use.

Beyond plain text, the WinMerge website lists three-way file and folder comparison, image compare, table compare for CSV and TSV files, archive support using 7-Zip, and Windows Explorer integration.

Step 1: Download and install WinMerge

  1. Go to the WinMerge downloads page and pick the installer for your PC. As of 4 December 2026 the current version is 2.16.60.2, released on 27 November 2026.

  2. Most Windows 11 PCs need the x64 (64-bit) installer. There's also an ARM64 installer for Windows on Arm laptops, a per-user installer, and ZIP files if you'd rather not install anything.

  3. Run the installer. If you want to start comparisons from File Explorer, make sure the Explorer context menu integration is enabled. You can change it later in WinMerge's options, on the Shell Integration page.

If you prefer installing apps from the command line, our guide to installing apps with winget covers how to search for and install packages.

Step 2: Compare two files

  1. Open WinMerge and click File → Open.

  2. In the Select Files or Folders dialog, choose the first file on the left and the second file on the right, then click Compare.

  3. WinMerge shows the two files side by side. It highlights the lines that differ and also highlights differences inside lines.

  4. Use the Next Difference and Previous Difference buttons to jump between changes. You can copy a change from one side to the other and then save the file.

You can also drag files into the WinMerge window, or select two files in File Explorer and choose WinMerge from the right-click menu. With the basic WinMerge shortcut, the manual says the left and right sides are determined by the sort order in Windows Explorer.

Step 3: Compare two folders

This is where WinMerge is most useful for everyday PC jobs such as checking a backup.

  1. Click File → Open and choose a folder for the left side and another for the right.

  2. Tick Include subfolders if you want WinMerge to compare everything inside them as well. According to the manual, this recursive mode is the default from the Open dialog.

  3. Optionally type a filter, such as a list of file masks, to limit the comparison to certain file types. WinMerge also ships with filter files that use regular expressions for more advanced include and exclude rules.

  4. Click Compare. A progress window shows how many items have been compared, and you can stop the comparison at any time.

The results appear in the Folder Compare window. You can sort by any column, and the View menu lets you show or hide identical items, different items, items that exist only on the left or right, skipped items and binary files. For deep folder structures, View → Tree Mode switches to an expandable tree.

Step 4: Pick the right compare method

Under the Compare options, WinMerge offers several methods. The manual describes them like this:

  • Full Contents (the default): a full comparison of file contents.

  • Quick Contents: a faster content comparison that skips plugins and moved-block detection. WinMerge uses it automatically for files bigger than 4MB, and line filters don't work with it.

  • Binary Contents: faster again, with no encoding or line-ending detection. The manual says this method "is good for comparing files against backed up files".

  • Modified Date, and Modified Date and Size: compares only dates (plus sizes when dates match). Much faster, but only as accurate as the file dates.

  • Size: compares only file sizes.

  • Existence: just checks whether each file exists on both sides.

For checking that a backup copy is identical, a contents method is the safer choice. Date-based methods are quicker for a rough check of large folders. Because timestamps can differ slightly in some situations, for example on network shares, the manual also describes an option to ignore time differences of less than three seconds when using the date-based methods.

Step 5: Copy, merge or delete differences

From the Folder Compare window, you can copy, move, rename and delete files. Merge → Copy to Right and Merge → Copy to Left copy the selected items across, and WinMerge shows a confirmation dialog listing the source and target paths before it does anything.

Be careful with deletions. WinMerge's Send deleted files to Recycle Bin option is on by default, and the developers strongly recommend keeping it on. The manual warns that if the Windows Recycle Bin is turned off, deleted files are lost.

If you need to keep two folders in step automatically across PCs, a sync tool is a better fit than a compare tool: see our guide to syncing files between PCs with Syncthing.

Step 6: Run comparisons from the command line

WinMerge can be run from Command Prompt, PowerShell or a batch file using WinMergeU.exe, which is in the WinMerge install folder. A few useful options from the manual:

  • /r compares all files in all subfolders. Unlike the Open dialog, folder comparisons started from the command line are not recursive unless you add it.

  • /m sets the compare method, using the keywords Full, Quick, Binary, Date, SizeDate, Size or Existence.

  • /or saves a comparison report, for example as an HTML file. The manual suggests combining it with /noninteractive so WinMerge exits after producing the report.

  • /enableexitcode sets the result as the exit code: 0 for identical, 1 for different and 2 for an error, which is handy in scripts.

For example, to compare a photo folder with its backup, including subfolders, using binary contents, and save an HTML report:

WinMergeU /r /m Binary /noninteractive C:\Users\You\Pictures E:\Backup\Pictures /or C:\Temp\report.html

Change the paths to suit your own folders.

Windows' built-in alternative: fc

Windows also includes the fc command, which Microsoft describes as comparing "two files or sets of files" and displaying the differences between them. Its /b option compares files byte by byte. It's fine for a quick check of two files from the command line, but it has no side-by-side view and no folder-tree comparison, which is where WinMerge is much easier to use.

For other options, including Meld and KDiff3, see our best free file compare tools for Windows, and our WinMerge vs Meld comparison.

The bottom line

WinMerge is the easiest free way to see exactly what's different between two files or two folders on Windows 11. Install it from winmerge.org, use File → Open to pick two files or folders, tick Include subfolders for a full folder comparison, and use a contents compare method when you need to be sure a backup matches. Keep the Recycle Bin option switched on before you copy or delete anything, and use WinMergeU.exe with /r, /m and /or when you want to automate comparisons.

Sources

  1. 01WinMerge home page
  2. 02WinMerge downloads
  3. 03WinMerge GitHub repository
  4. 04WinMerge GitHub releases
  5. 05WinMerge 2.16 manual: Opening files and folders
  6. 06WinMerge 2.16 manual: Comparing and merging folders
  7. 07WinMerge 2.16 manual: Options and configuration
  8. 08WinMerge 2.16 manual: Command line
  9. 09Microsoft Learn: fc

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Best Free Diagram and Flowchart Software for Windows in 2026

Best Picks

Best Free Diagram and Flowchart Software for Windows in 2026

The best free diagram and flowchart software for Windows in 2026: draw.io Desktop is our top pick for most people, yEd is best for automatic layouts and diagrams built from data, and Excalidraw is ideal for quick hand-drawn sketches.

Hannah Vance4 min

draw.io vs yEd: Which Free Diagram Software Should You Use?

Versus

draw.io vs yEd: Which Free Diagram Software Should You Use?

draw.io Desktop and yEd Graph Editor are two free ways to make flowcharts and diagrams on Windows. We compare their downloads, drawing tools, automatic layouts, data import, file formats and licences to help you choose.

Callum Reid4 min

How to Make Flowcharts in draw.io Desktop on Windows 11

How-To

How to Make Flowcharts in draw.io Desktop on Windows 11

draw.io Desktop is a free, open-source diagram app that works offline on Windows 11. We show which download to pick, how to add and connect flowchart shapes, label and tidy your diagram, and save or export it.

Marcus Thorne5 min