Compare two JPEG, PNG, or WebP images by calculating perceptual hashes and measuring the Hamming distance between them. Unlike a normal file checksum, this tool checks if two images look similar, even if they have been resized, compressed, or lightly edited.
Hash types and sensitivity
Choose between aHash, dHash, pHash, and wHash to compare different visual properties. aHash compares average brightness, dHash detects local pixel differences, and pHash and wHash focus on broader visual structure. Using multiple hashes provides a more balanced comparison result.
The hash size controls the level of detail in the fingerprint. An 8×8 hash is faster and good for catching obvious duplicates, while a 16×16 hash creates a 256-bit fingerprint that is much more sensitive to minor changes.
Hamming distance verdicts
The Hamming distance counts how many bits are different between the two hashes. A distance of zero means an exact match for that specific algorithm.
A lower distance means the hashes are closer, often suggesting the images are just resized or compressed versions of the same file. A higher distance indicates the hashes are further apart and the visual differences are more significant.
Exporting the comparison
After comparing both images, the table shows the distance, similarity percentage, and a plain-language verdict. You can copy the comparison summary directly to your clipboard or download it as a CSV.
The export includes the selected algorithms, both filenames, and the total hash bits. This is useful for auditing website images, keeping QA notes, or documenting duplicate assets.