Image Hash Generator
Compute a SHA-256 file hash and average and difference perceptual hashes of an image.
Hash an image
Status: choose an image to begin
SHA-256: —
Average hash: —
Difference hash: —
Pixels compared: —
How to use the Image Hash Generator
- Choose the image you want to hash.
- Wait while the file hash and the two perceptual hashes are computed.
- Compare the averages or copy the SHA-256 value for your records.
Features
- SHA-256 file hash via the Web Crypto API
- Average hash from an 8 by 8 greyscale downscale
- Difference hash from horizontal pixel gradients
- Copy button for the file hash
Advertisement
Frequently Asked Questions
Common questions about the free online image hash generator.
It is a short fingerprint of the file or of its visible content, used to compare, index or
deduplicate images.
SHA-256 fingerprints the exact bytes, while the average and difference hashes describe the
picture and survive re-saving.
Use the perceptual hashes. Two photos that look the same produce very similar average and
difference hashes.
Usually yes, because the image is downscaled to 9 by 8 pixels first, which removes most small
changes.
No. The file and canvas hashing both run in your browser and nothing is transmitted.
Through the Web Crypto digest function, with a built-in fallback implementation when that API
is unavailable.
Count the differing bits between the two hexadecimal values. A small distance means the
images look alike.
Yes. Editing or stripping metadata changes the bytes and therefore changes the whole SHA-256
value.
Yes. The generator is fully responsive and works in the browser on phones, tablets and
desktops.
Last updated: October 10, 2026