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: —
The file hash comes from SubtleCrypto and the perceptual hashes from a 9 by 8 canvas downscale.

How to use the Image Hash Generator

  1. Choose the image you want to hash.
  2. Wait while the file hash and the two perceptual hashes are computed.
  3. Compare the averages or copy the SHA-256 value for your records.

Features

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