Pick a folder and the tool groups exact duplicates and near-identical photos. Choose which copy to keep, then move the rest to a review folder.
This tool runs entirely in your browser. What you enter is never sent anywhere.Your input is never sent anywhere.
DetailsHow to Find Duplicate Photos and Files in a Folder
Duplicates come in two kinds. Exact duplicates have identical contents, usually from copying a folder twice or running the same backup again. Near-duplicates look the same but differ in resolution, file format, or compression, which can happen when a photo is exported, synced, or saved again from another app.
This tool looks for both. It reads every file in the folder you choose, including subfolders, groups exact copies by SHA-256 hash, and groups lookalike images by a small brightness fingerprint. All of this runs in your browser.
Nothing is deleted. You pick which file to keep in each group, and the tool moves the others into a review folder inside the folder you scanned. Delete that folder yourself once you've checked it.
Where Duplicate Copies Come From
Repeated phone backups
Copying photos from an iPhone or Android phone to your computer more than once leaves identical files in separate folders. Exact-match detection groups them so you can see how much space they take.
Cloud exports and sync conflicts
Photos exported from iCloud or Google Photos in several batches can overlap, and a sync conflict can leave extra copies behind (Dropbox, for example, adds "conflicted copy" files). Resized or re-saved versions are caught by similar-photo matching.
A full hard drive
Before deciding what to delete, scan the folders that hold the most files. The summary shows the space you could free if you removed every extra copy.
USB drives, shared folders, and saved web images
Folders passed around on USB drives or shared drives, and images saved from the web more than once, tend to collect copies over time.
How to Scan a Folder and Clear Out Extra Copies
- Choose the file types (Photos only or All files) and a minimum file size. The default minimum is 20 KB.
- Click Choose Folder and pick the folder to scan. Your browser asks for permission to view and edit its files, and the scan starts right away. If you change the settings later, press Rescan.
- Review each group. Previews, file sizes, image dimensions, and modified dates help you tell the copies apart. You can change the default keep rule and the similar-photo sensitivity at any time.
- Click Keep this on the version you want in each group, then click Move to Review Folder and confirm.
Note: Each selected file is copied into the review folder and then removed from its original location. Space is freed only when you delete the review folder.
Before You Move Anything
- Moving is not deleting, but it does take the file out of its original folder. Check the review folder before you delete it.
- Files over 50 MB are matched by size plus a hash of their first and last 1 MB, not by the whole file. Open large files yourself to confirm they match.
- Similar-photo matches are an estimate. Cropped, rotated, or heavily edited versions of a photo usually won't match, and unrelated shots with a similar layout can. Check the previews first.
- Files already in an exact-match group are not compared again for similarity.
- Hidden files and folders (names starting with a dot) and the review folder are skipped. Files smaller than the minimum size are skipped too.
- The copy in the review folder is a new file, so its modified date is the time of the move. The original folder path is kept in its name, with / replaced by __.
Exact Match vs. Similar Photo Detection
The two modes use different methods, so they find different things and need different amounts of checking.
| Detail | Exact match | Similar photo |
|---|---|---|
| How it compares | SHA-256 hash of the file contents (size plus first and last 1 MB for files over 50 MB) | 64-bit fingerprint from a 9×8 grayscale copy of the image |
| File types | Any file when All files is selected | JPG, PNG, WebP, GIF, BMP, HEIC, and HEIF files that your browser can decode |
| Finds | Files with identical contents, whatever their names or folders | Resized or recompressed copies of the same photo |
| Misses | Files that differ by even one byte | Cropped, rotated, or heavily edited versions |
| Before you move | Check large files over 50 MB yourself | Always look at the previews |
Strict, Standard, and Loose allow up to 4, 10, and 18 differing bits out of 64 when grouping similar photos.
How SHA-256 Hashing and dHash Compare Files
A short look at the two methods behind the results, and where each one can go wrong.
Short answer: hashes for exact copies, fingerprints for lookalikes
If two files contain exactly the same bytes, their hash values (short strings calculated from the contents) are identical, so a hash comparison finds them quickly. If the same photo was resized or saved in another format, the bytes differ and the hashes no longer match. For those, the tool compares a visual fingerprint of each image instead.
Why SHA-256 matches files regardless of name
SHA-256 turns a file's contents into a fixed-length string, and changing even one byte produces a very different string. The file name, folder, and location are not part of the calculation, so copies with different names still match. The tool uses the browser's built-in Web Crypto API to do this.
What dHash compares, and where it falls short
A difference hash (dHash) shrinks the image to 9×8 pixels, converts it to grayscale, and records whether each pixel is brighter than the one to its right. The result is 64 bits. Photos that are resized or recompressed keep nearly the same pattern. A crop, rotation, or heavy edit changes the pattern a lot, and two different photos with a similar layout can produce close fingerprints, so check the previews before you move anything.
How the File System Access API keeps files on your device
The File System Access API lets a web page read and write a folder you pick, after you grant permission. The tool uses it to read files, calculate hashes, draw previews, and move files, all in the page. This is also why it only works in Chromium-based browsers such as Chrome and Edge for now.
Common Mistakes and Fixes
Trusting the default keep rule and moving the better copy
Keep newest is only a starting point. The newest file is not always the one with the higher resolution, and the tool has no way of knowing which version you prefer.
💡 See the solution▼
Grouping unrelated shots on the Loose setting
Loose allows up to 18 of 64 bits to differ, so photos with a similar layout, such as burst shots or the same scene at different times, can end up in one group.
💡 See the solution▼
No preview for iPhone HEIC photos
If your browser can't decode HEIC, those photos show a placeholder icon and are not compared for similarity. You may miss duplicates that differ only by resolution or compression.
💡 See the solution▼
Opening the tool in Safari or Firefox
Neither browser supports the folder picker, so the tool can't read your folder and shows an unsupported-browser message.
💡 See the solution▼
Scanning a whole drive or home folder
Choosing a very large folder means every file in it is read and hashed, so the scan can take a long time and may skip similar-photo matching once there are more than 4,000 images.
💡 See the solution▼
Expecting free space right after the move
Moved files still exist in the review folder, so your free disk space doesn't change after the move.
💡 See the solution▼
FAQ: Privacy, Browser Support, and HEIC Photos
Q.Are my photos uploaded anywhere when I scan a folder?
A. No. The tool reads your files through the browser's File System Access API, then calculates hashes and compares images on your device. File contents are not sent to a server. Your browser will ask for read and write access to the folder you pick. The write access is used only to create the review folder and move files into it.
Q.How does the tool find exact duplicate files?
A. It calculates a SHA-256 hash of each file's contents and groups files with the same hash. File names, folders, and dates don't matter. For files over 50 MB, it hashes only the first and last 1 MB together with the file size, so a match on a large file is very likely but not a full-file comparison. Check large files yourself before moving them.
Q.How does it find similar photos?
A. Each image is shrunk to a 9×8 grayscale copy, and the tool records whether each pixel is brighter than its right-hand neighbor. That gives a 64-bit fingerprint (a dHash). Two photos are grouped when their fingerprints differ by no more than 4 bits on Strict, 10 on Standard, or 18 on Loose. Always look at the previews before moving anything, because a match is an estimate.
Q.Does it delete the duplicates?
A. No. Each file you choose to move is copied into a review folder that the tool creates inside the folder you scanned, and is then removed from its original location. The copy gets a new modified date, and its name includes the original folder path with / replaced by __. Disk space is freed only after you delete the review folder yourself.
Q.Which browsers work with this tool?
A. It needs the File System Access API folder picker, which is available in Chromium-based browsers such as Google Chrome, Microsoft Edge, and Opera. Safari and Firefox don't support it. If your browser can't run the tool, the page tells you so.
Q.Can it find duplicate HEIC photos from my iPhone?
A. Exact duplicates are found no matter the format, because they are matched by file hash. Similar-photo matching and previews need the browser to decode the image, and many browsers can't decode HEIC. Photos that fail to decode show a placeholder icon and are only compared by exact match. If you need similar-photo matching for HEIC files, convert them to JPEG first.
Q.How many photos can I scan, and why is it slow?
A. Files up to 50 MB are read in full to calculate their hash (larger files only have their first and last 1 MB read), so scan time depends on how much data the folder holds and how fast your drive is. A progress bar shows how far along it is. If more than 4,000 images remain after exact matches are removed, similar-photo matching is skipped and only exact matches are shown. Scanning a smaller folder avoids that limit.
Q.Can it compare two different folders?
A. The tool scans one folder at a time, including all of its subfolders. To compare two folders, choose a parent folder that contains both. Hidden files and folders (names starting with a dot) and the review folder are skipped.
Your feedback
makes this tool better.
Tell us which features you'd like, what should be fixed, or which new tool you'd like to see. An engineer reads every submission and uses it to guide development.