Duplicate Image Finder
Drop a folder to find exact copies and perceptual near-duplicates entirely in your browser — no uploads, no deletion.
Folder input and settings
0 image(s) · 0 skippedFiles 0
Exact groups 0
Reclaimable 0 B
Review clusters
0 cluster(s)No images scanned
This tool never deletes files. It exports a cleanup list you can review before any script acts on it. Load the demo folder or choose images from your device.
Examples
Renamed copy
Same bytes, different filenameExact cluster with distance 0Hashing ignores names entirely.
Burst sequence
dHash distance 2 at threshold 10Near-duplicate clusterSlightly shifted or re-encoded frames stay within the threshold.
Transitive chain
A–B 8 bits, B–C 8 bitsOne cluster labelled with the observed rangeUnion-find can place A and C more than 10 bits apart; review is required.
About this tool
The Duplicate Image Finder scans a folder entirely in your browser and groups both byte-identical copies and visually similar photos. Exact matching uses SHA-256 over the raw file bytes; near matching uses a 64-bit difference hash (dHash) computed from a 9×8 grayscale downsample of each image. A size-band pre-filter keeps comparisons tractable on large libraries, with a thorough-scan option that compares every pair.
Pairs within the Hamming threshold are joined with union-find into reviewable clusters. Each cluster shows its observed minimum and maximum pairwise distance, so you can see when chaining has joined members that are farther apart than the threshold. Review marks are keyed to a cluster and cleared when the threshold changes, preventing stale verdicts from leaking into an export.
Nothing is uploaded and nothing is deleted. The only output is a CSV cleanup list that your own tools can read, with correctly quoted paths. A built-in demo folder lets you try the review workflow without staging a photo library.
What this tool does not do
- No files are deleted, moved or renamed; output is a CSV list only.
- dHash is not rotation- or flip-invariant, and very small images give noisy distances.
- A size-band scan can miss near-duplicates with very different byte counts unless thorough mode is enabled.
How to use this tool
Choose files or a folder
Use the file picker with folder-scan mode for a webkitdirectory selection, or load the demo folder to explore the workflow.
Tune the threshold
Move the Hamming slider (0–32 of 64 bits). Zero disables the near pass and shows exact groups only; thorough scan ignores size bands.
Review clusters
Open a cluster, mark one image as Keep and the rest as Duplicate, or apply a bulk rule such as largest file or newest date.
Export the list
Download the CSV cleanup list. The tool never removes files — review the list before acting on it elsewhere.
Use cases
Cull a shoot
Group burst frames and near-identical edits before choosing the keeper.
Consolidate backups
Find renamed byte-identical copies across synced folders without uploading private photos.
Clean asset folders
Export a precise path list for a script instead of deleting files from the browser.
Matching stages
| Stage | Method |
|---|---|
| Exact | SHA-256 of raw bytes; byte-identical files group regardless of filename |
| Perceptual | dHash: 64 horizontal-gradient bits from a 9×8 grayscale grid |
| Comparison | Hamming distance of two hashes, threshold 0–32 bits |
| Pre-filter | Log-scale byte-size bands; thorough mode disables the filter |
| Clustering | Union-find with path compression; observed distance range shown |
| Export | CSV with path, group, verdict, distance and bytes; RFC-style quoting |
Resized or re-encoded copies can fall outside a narrow size band — enable thorough scan when that matters more than speed.
Common mistakes
Mistake:Assuming a high threshold always means the same photo.
Fix:Review the distance range and the side-by-side images; chains can contain loose matches.
Mistake:Wondering why a heavily resized duplicate was missed.
Fix:The size-band filter skips it by default — enable thorough scan.
Mistake:Expecting rotated phone photos to match.
Fix:dHash is orientation-sensitive; rotate-aware matching is outside this version.
Mistake:Treating the CSV as an executable cleanup.
Fix:Review the verdicts first; this tool has no file-system write or delete permission.
Frequently asked questions
Are my photos uploaded?
No. SHA-256 hashing, perceptual hashing and clustering all run in your browser tab. There is no upload endpoint, and thumbnail object URLs are revoked when the file list changes.
What is the difference between exact and near duplicates?
Exact duplicates have identical bytes and therefore identical SHA-256 hashes. Near duplicates are visually similar but differ in bytes — a re-encode, crop or quality change — and are found with a 64-bit perceptual hash and a small Hamming distance.
What threshold should I use?
Start at 10 bits out of 64: it catches re-encoded and burst copies with few false positives. Move to 0 for exact groups only, or lower it if unrelated photos appear together. Raising it above 16 quickly produces loose matches.
Can this tool delete files?
No, and it deliberately cannot. You mark keepers in the review panel and download a CSV list that your own script or file manager can use. Nothing is written to disk by the browser tool.
How large a folder can it handle?
Hashing is sequential with a progress indicator; tens of thousands of filenames are fine, but decoding time grows with image count. Thorough mode compares every pair and is much slower than the default size-banded scan.
Why did a resized duplicate not appear?
The default pre-filter compares only files in similar byte-size bands to avoid quadratic work. Enable thorough scan to compare all pairs regardless of file size.
References & standards
Related tools
APCA Contrast Calculator
Calculate directional APCA 0.1.9 Lc contrast scores and compare them with WCAG 2.1 ratios.
Barcode Generator
Generate barcodes in 8 formats (CODE128, EAN13, UPC, and more) — configure line width, height, and text display, then download as SVG or PNG.
Base64 Image Encoder
Open the Image workspace in Base64 Toolbox to resize and convert images to Base64 data URIs, then copy HTML, CSS, Markdown or JavaScript snippets.
Batch Image Resizer
Resize multiple images with width, height, percentage or max-dimension rules and renaming, privately.
BlurHash Generator
Encode an image into a compact BlurHash string and verify it with a live decode preview.
CSS Container Queries Lab
Generate CSS container queries and preview responsive component patterns