Blog
How to Find Duplicate Files on Windows (3 Methods)
Duplicate files are one of the biggest wasters of disk space on Windows. Over time, you end up with multiple copies of the same documents, photos, downloads, and backups scattered across different folders. A single 50 MB presentation saved in three locations costs you 100 MB of wasted space, and across hundreds of files, that adds up fast.
The good news is you don't have to open every folder and check manually.
Here are three ways to find duplicate files on Windows, from sorting by hand to scanning everything at once:
Method 1: Manual Search in File Explorer
The simplest approach is sorting files in File Explorer to visually spot duplicates. This works for small folders but becomes impractical at scale.
Steps:
- Open File Explorer and navigate to the folder you want to check
- Click View > Details to see file sizes and dates
- Click the Size column header to sort by file size. Duplicates will often have the exact same size
- Look for files with identical sizes and similar names (e.g., "report.pdf" and "report (1).pdf")
- Right-click suspicious files and check Properties to compare sizes, dates, and locations
You can also use the search bar in File Explorer to look for common duplicate patterns. Try searching for name:(1) or name:copy to find files that Windows renamed when copying.
Limitations:
- Extremely time-consuming for large file collections
- Only works within a single folder at a time
- Cannot detect duplicates with different filenames
- No way to compare file contents
- Easy to miss duplicates or accidentally delete the wrong copy
Method 2: PowerShell Hash Comparison
PowerShell can compute MD5 or SHA256 hashes for every file in a folder, then group files with identical hashes. This is a reliable way to find exact byte-for-byte duplicates, even if the filenames are different.
Steps:
- Open PowerShell (search for it in the Start menu)
- Run the following command, replacing the path with your target folder:
Get-ChildItem -Path "C:\Users\YourName\Documents" -Recurse -File |
Get-FileHash -Algorithm MD5 |
Group-Object -Property Hash |
Where-Object { $_.Count -gt 1 } |
ForEach-Object {
Write-Host "--- Duplicate group ---"
$_.Group | ForEach-Object { Write-Host $_.Path }
}
This script computes the MD5 hash of every file, groups them by hash, and shows groups where more than one file shares the same hash. Those are your exact duplicates.
Pros:
- Free, no software needed
- Finds exact duplicates regardless of filename
- Works across subfolders
- Reliable: hash comparison is definitive
Cons:
- Slow on large directories (hashing thousands of files takes time)
- Only finds exact duplicates, not similar files
- Requires command line knowledge
- No graphical interface for reviewing results
- You must manually delete duplicates after identifying them
Method 3: FileScope Content Search
The methods above work when you already know where to look. But what about the copy you saved six months ago in a folder you forgot about? Or the duplicate you renamed last month and completely forgot about?
With FileScope, one search shows you every copy, every version, every format — across all your folders at once. Search for "quarterly revenue analysis" and FileScope might surface three different documents that all contain similar financial data.
How it works:
- Install FileScope and scan all your files
- FileScope understands the content of every file
- Search for content you think exists in more than one place
- If multiple files show up, those are your duplicates
Find Any File. Just Describe It.
Find documents, images, and files by name, content, or meaning. Just describe what you're looking for.
Comparison
| Feature | File Explorer | PowerShell | FileScope |
|---|---|---|---|
| Exact duplicates | Visual only | Yes (hash) | Yes (content match) |
| Similar files | No | No | Yes (AI semantic) |
| Searches inside files | No | No | Yes |
| PDF / DOCX / XLSX | No | No | Content search |
| OCR (images) | No | No | Yes |
| Ease of use | Easy but slow | Requires CLI | Very easy |
| Price | Free | Free | $19 one-time |
Tips for Safe Duplicate Removal
Regardless of which method you use, follow these guidelines to avoid accidentally deleting important files:
- Move before you delete. Instead of deleting suspected duplicates immediately, move them to a temporary folder. Wait a week. If nothing breaks, delete them.
- Keep the original location. When you find duplicates, keep the copy in the most logical folder (e.g., the project folder rather than Downloads).
- Check modification dates. The most recently modified file is usually the one with the latest changes. Keep that one.
- Be careful with system files. Never delete files in
C:\WindowsorC:\Program Files, even if they look like duplicates. Applications may need multiple copies of the same DLL or data file. - Back up first. Before any bulk deletion, create a backup or a system restore point.
When to Use Which Method
For a quick cleanup of a single Downloads folder, the File Explorer manual approach may be enough. For thorough, system-wide duplicate detection based on file hashes, PowerShell is reliable and free. And if your problem is not just identical copies but overlapping content across different document versions, drafts, and formats, FileScope's content search helps you understand what is in your files and decide which to keep.
For more ways to search your files effectively, see our guide on the best file search tools for Windows or learn how to search files by content.
Find Any File. Just Describe It.
Find files by what you remember, not what you named them.
Get FileScope — $19 Lifetime Access