Problem solved by Diff Anything macOSWindows

Compare two folders on Windows and see what changed

Compare two folders (directories) on Windows 10 and 11 with a visual folder diff. Find missing, changed, and moved files in every subfolder, then open any pair to compare the two files.

See it in the app

Find the changed paths before opening individual files.

No accounts, cloud comparison service, analytics, or telemetry.

Diff AnythingA two-minute walkthrough on Windows: compare two versions of a project folder, read the results, and open a changed file. Watch on YouTube

The problem

Why the usual workflow gets in the way.

Two File Explorer windows leave you checking names, dates, and sizes one directory at a time. A copied project can look complete while a nested configuration file differs or a required asset is missing. The larger the folder tree, the easier it is to miss something.

The solution

How Diff Anything handles it.

Diff Anything compares the folder trees and brings the differences into one desktop view. Start with missing or changed paths, use search and status filters to focus the list, and open paired files to inspect their content. Moved-file detection helps explain files that changed location.

Review a release

Check the exact files you plan to deliver

Use the release-artifact guide to compare a trusted baseline with a candidate folder or supported archive and inspect the important changes.

Read the release comparison guide

01 / Workflow detail

The short answer: comparing two folders in Windows 10 and 11

Windows has no built-in window that shows the differences between two folders. File Explorer can show two folders side by side, but you compare names, dates, and sizes yourself, one directory at a time.

Two built-in commands can list differences without installing anything. In Command Prompt, robocopy "C:\Folder A" "C:\Folder B" /L /E /NJH /NJS /NP /NDL lists the files that are new or different in the first folder. /L means list only, so nothing is copied, and /E includes subfolders. Robocopy compares sizes and dates, not contents. In PowerShell, Compare-Object (Get-ChildItem "C:\Folder A" -Recurse -File) (Get-ChildItem "C:\Folder B" -Recurse -File) -Property Name, Length lists the files whose name or size differs.

For a visual folder diff that checks content, finds moved files, and opens each changed file, use a folder comparison app. The steps below use Diff Anything.

02 / Workflow detail

How to compare two folders on Windows

Open Diff Anything and select a folder (directory) for each side of the comparison. Place the known baseline on the left and the folder you want to check on the right. For example, compare the previous release output with the candidate release output, using the same directory level on each side.

Open Folder options and keep Recursive enabled to include subfolders. Review the ignore list before trusting the result: if the task is to check a release package, a rule that hides its build output defeats the purpose of the comparison.

Use the tree layout to follow the directory structure or the table layout to scan paths. Search for a specific file and filter the results by status. Open a changed pair to see the content difference before deciding which version to keep.

03 / Workflow detail

Understand missing, changed, and moved files

Read each status relative to your chosen baseline. If the candidate is on the right, Right only is an addition and Left only is something absent from the candidate. Neither status is an instruction to copy or delete the file.

Folder comparison results, with the original on the left
ResultWhat it tells you
Right onlyThe path exists only in the right folder. If the right side is your newer copy, this is an addition.
Left onlyThe path exists only in the left folder. It is missing from the right side; that does not mean it should automatically be deleted.
ChangedThe paired files differ under your selected content, size, or timestamp settings. Open the pair to inspect the change.
MovedMatching file content was found at another relative path. Review the old and new locations together.
ConflictThe same relative path has different entry types, such as a file on one side and a folder on the other.
IdenticalThe entries match under the active comparison rules. With semantic comparison enabled, this can mean equivalent structured content rather than identical bytes.
UnverifiedContent was not verified, for example because of the selected size settings, a read error, or a file changing during the scan. Resolve the cause before treating it as a match.
Contains changesA folder contains differences further down the tree. Expand it to review the individual entries.

04 / Workflow detail

Check content, not just names and dates

Two files can have the same name and size and still contain different data. A newer modification date also does not tell you what changed. Choose the checks that answer your question in Folder options: Compare file sizes, Compare small-file content, Compare hashes, and Ignore timestamps.

For a byte-level check of the included files, enable Compare hashes and turn off Semantic structured files. For a configuration review, leave semantic comparison enabled: supported JSON, YAML, XML, CSV, and environment files can compare by their parsed content within the maximum content size. For example, reordered JSON object keys need not count as a meaningful change.

Identical means a match under those settings. It does not certify files excluded by your patterns, hidden-file setting, or preview limit. Review warnings and Unverified entries before concluding that two folders match.

05 / Workflow detail

Compare two files on Windows

To compare two files instead of two folders, choose File on each side, or drop both files onto the window. With Auto selected, Diff Anything picks the comparison from the file type.

Text and code open as a side-by-side diff with the changed lines and words highlighted. Excel and other spreadsheet workbooks are compared cell by cell. PDF and Word documents are compared by their extracted text, and images can be reviewed with an overlay. You can also open any Changed file straight from a folder comparison, which starts the same file comparison for that pair.

The built-in alternative is Command Prompt: fc file1.txt file2.txt prints the lines that differ between two text files, and fc /b compares two files byte by byte.

06 / Workflow detail

Set up a useful Windows folder comparison

Choose equivalent roots. Comparing a release directory against a parent containing several releases makes normal nesting look like missing files. If nearly everything appears on only one side, check the selected roots before changing your filters.

Review Ignore patterns for generated directories such as node_modules, dist, build, or target. Excluding these can help when comparing source projects, but keep them visible if they are the output you need to verify. Use Include only these patterns when the question concerns a specific part of the tree.

Check Case-sensitive paths when folders have crossed operating systems: decide whether README.md and readme.md should pair up. Hidden files includes dot-prefixed paths; review that setting and the ignore rules when configuration files belong in the comparison. If files are actively being written, wait for the copy or build to finish and rerun the comparison.

07 / Workflow detail

Check a copied folder, release, or configuration

A folder diff is most useful when the result answers a specific question:

  • Did the copy include everything? Compare the original and destination folders, look for Left only entries, and enable content hashing for the included files. Matching names and sizes alone do not prove a complete copy.
  • What changed in the release? Compare two equivalent output directories. Review added and removed assets as well as changed files; remove ignore rules that hide the output under review.
  • Which configuration values changed? Include the relevant JSON, YAML, XML, CSV, or environment files and use semantic comparison within the content-size limit. Open a changed pair for the detailed result.

08 / Workflow detail

What is included in Free and Pro?

Free lets you try folder comparison with a preview of the first 100 collection items and 10 new comparison sessions per local day. Free file comparisons are limited to 5 MiB per side, and nested folder content checks are also subject to the Free content-size limit. A preview is useful for evaluating the workflow; it is not a complete review of a larger folder tree.

A one-time Pro purchase removes the collection-preview and daily-session limits and unlocks larger sources within technical limits. Pro also adds folder synchronization, report export, and saved comparison profiles and history. Start with a small, representative pair of folders to see whether the review fits your work.

09 / Workflow detail

Synchronize selected changes with Pro

Comparing folders reads the sources; it does not automatically make either side match the other. If you decide to update a folder, select the intended entries, choose left-to-right or right-to-left, and review the synchronization preview. Check every create, update, delete, and move before applying the plan.

Diff Anything checks for stale results, shows progress, supports cancellation, and offers one-click undo after a successful synchronization. Recovery information also supports rollback after interrupted work. Keep both folder roots available and verify the destination after the operation. For important files, retain a separate backup.

Clear answers

Questions about comparing folders on Windows

Does Windows have a built-in tool to compare two folders?

Not a visual one. File Explorer cannot compare folders. From the command line, robocopy with the /L switch lists the files that differ by size or date without copying anything, and PowerShell's Compare-Object can compare two file listings. Diff Anything shows the differences in a window, checks content, detects moved files, and opens each changed file.

How do I compare two folders in Windows 11?

Open Diff Anything, click Folder on each side, and pick the two folders. The result lists the files that exist on only one side, changed, or moved, including files in subfolders. The steps are the same on Windows 10.

Can I compare two folders without PowerShell or a command line?

Yes. Diff Anything provides a desktop interface for choosing two folder roots, reviewing their recursive differences, and opening changed file pairs. You can use tree or table layouts and filter by path or status.

Is folder comparison available in Free?

Yes. Free previews the first 100 collection items and allows 10 new comparison sessions per local day. File comparisons are limited to 5 MiB per side. Pro removes the preview and daily-session limits and adds synchronization and report export.

Does matching file size mean that the contents are identical?

No. Different contents can have the same size. Enable Compare hashes for a content check. Turn off Semantic structured files when you want byte-level equality rather than equivalent parsed values, and review any Unverified entries.

Why are some files or subfolders missing from the result?

Check Recursive, Hidden files, Ignore patterns, Include only these patterns, search, and status filters. Identical entries are hidden unless requested. Free also limits the collection preview to the first 100 items. Review scan warnings for unreadable paths.

Can I synchronize the folders after comparing them?

Yes, with Pro. Select entries, choose the direction, and review the create, update, delete, and move operations before applying them. Synchronization supports cancellation and recovery, with one-click undo after a successful operation.

Does it work on Windows 10?

Yes. Diff Anything runs on Windows 10 version 1809 or later and on Windows 11. Install it from the Microsoft Store.

Does comparing folders upload my files?

Folder comparison runs locally in the desktop app. You select folders on your computer; the comparison does not require uploading their contents to a website.

Three short steps

Get from two folders to a useful answer.

  1. 01

    Select the baseline folder on the left and the candidate or copied folder on the right.

  2. 02

    Include subfolders, check ignore rules, and review missing, changed, moved, or unverified entries.

  3. 03

    Inspect the changed file pairs. Use Pro synchronization only when you want to apply reviewed changes.

Available for macOS and Windows

Solve it with Diff Anything.