How to Find and Delete Duplicate Files in Windows 11 (Safely)
Windows has no built-in duplicate finder. Here are four ways to find duplicate files and photos — from a free PowerShell command to a browser tool — and how to delete them without regrets.
By Zeeshan Khalid · Updated 26 September 2026
Duplicate files creep in everywhere: photos imported from your phone twice, the same PDF saved to Downloads three times, a "backup" folder that's a full copy of your Pictures. On a large drive they can easily waste tens of gigabytes.
Windows 11 still has no built-in duplicate finder. This guide covers four ways to find them — two completely free — and, more importantly, how to delete them without breaking anything.
Before you start: where not to look
Only hunt for duplicates in your own files:
- ✅
Pictures,Videos,Music,Documents,Downloads,Desktop - ✅ External drives and old backup folders
- ❌
C:\Windows,C:\Program Files,C:\Program Files (x86) - ❌
AppData(inside your user folder)
Programs deliberately keep identical copies of files (libraries, icons, language packs) in different folders. Deleting "duplicates" there is a quick way to break an app, or Windows itself.
OneDrive users: if Files On-Demand is on, many files exist only in the cloud. Scanning them by content forces Windows to download every one. Scan folders that are Always keep on this device, or pause OneDrive first.
Method 1: Sort by size in File Explorer (quick check)
For a single folder with a few hundred files:
- Open the folder and switch to View → Details.
- Click the Size column header to sort.
- Look for files with the exact same size sitting next to each other, and open them to compare.
It's crude, but identical files always have identical sizes, so this spots obvious copies quickly — especially large videos.
Method 2: PowerShell (free, precise)
PowerShell can hash every file and group identical ones. Open Terminal or PowerShell and run (change the path):
$folder = "$env:USERPROFILE\Pictures"
Get-ChildItem -Path $folder -Recurse -File |
Group-Object Length | Where-Object Count -gt 1 |
ForEach-Object { $_.Group } |
Get-FileHash -Algorithm SHA256 |
Group-Object Hash | Where-Object Count -gt 1 |
ForEach-Object { $_.Group.Path; "" }
What it does:
- Lists every file under the folder.
- Groups by size first — only same-size files can be duplicates, so this skips hashing most files and makes it much faster.
- Calculates a SHA-256 hash for the remaining candidates.
- Prints each group of identical files, separated by a blank line.
To save the result to a file for review, add | Out-File "$env:USERPROFILE\Desktop\duplicates.txt" to the end.
PowerShell only finds duplicates — it doesn't delete anything, which is exactly what you want at this stage.
Method 3: Free browser tool (no install)
If you'd rather not touch the command line, the free duplicate file finder does the same size → quick-hash → full-hash comparison in your browser:
- Click choose a folder and allow access.
- It shows each group of identical files, sorted by how much space they waste.
- Export the list as CSV to work through in Excel.
Nothing is uploaded — your browser reads the files locally. Like PowerShell, a web page can't delete files, so you remove them yourself in File Explorer.
Method 4: A dedicated duplicate finder app
Dedicated apps add the parts the free methods lack: deleting safely, choosing which copy to keep, and finding similar (not just identical) photos. When choosing one, look for:
- Content comparison (hashing), not name matching.
- Recycle Bin deletion instead of permanent delete, so mistakes are recoverable.
- Rules for which copy to keep — oldest, newest, or in a preferred folder.
- Similar-image detection if you're cleaning a photo library.
- Offline operation — there's no reason to upload your files to a server to compare them.
How to delete duplicates safely
Whichever method you use:
- Back up first, or at least make sure deletions go to the Recycle Bin.
- Decide which copy to keep by location, not by name. Keep the copy in your organised folder (
Pictures\2024\Italy) and delete the one inDownloadsorNew folder (3). - Keep the oldest copy of photos — it's more likely to be the original with full metadata.
- Delete in batches and use your PC normally for a day before emptying the Recycle Bin.
- Leave duplicates that are there on purpose — the same file in a project folder and its backup, for example.
Finding what else is eating space
Duplicates are often only part of the story. Old installers, videos and forgotten backups usually take more room. See what's taking up space on your C: drive for a full walkthrough, or scan any folder with the free folder size analyzer.
The apps I use
I build two Windows apps for exactly this job:
- Duplicate File Finder & Photo Cleaner finds exact duplicates with a size → partial-hash → full-hash pipeline, finds visually similar photos with perceptual hashing, lets you keep the older or newer copy per group, and moves the rest to the Recycle Bin.
- DiskAtlas Pro shows your whole drive as a treemap, includes a verified duplicate finder that skips cloud-only OneDrive files, and suggests safe cleanups.
Both run entirely offline. The free PowerShell and browser methods above are genuinely good, though — start there.
Frequently asked questions
- Does Windows 11 have a duplicate file finder?
- No. Windows 11 has storage cleanup recommendations but no tool that finds identical files. You can use a PowerShell command, a free browser tool, or a dedicated app.
- Is it safe to delete duplicate files?
- Duplicates in your own folders (Pictures, Documents, Downloads, Videos) are generally safe to remove once you've confirmed they're identical. Never delete duplicates inside Windows, Program Files or AppData — programs keep identical copies of files on purpose.
- Are files with the same name duplicates?
- Not necessarily. Two files called photo.jpg can be different pictures, and IMG_1043.jpg and holiday.jpg can be identical. Reliable duplicate finders compare file contents using a hash, not names.
- What's the difference between duplicate and similar photos?
- Duplicates are byte-for-byte identical files. Similar photos look alike but differ — a resized copy, a different format, or a burst shot a second apart. Finding similar photos needs perceptual hashing, which most free tools don't do.