About Hash Generator
A hash is a fixed-length fingerprint of some data. Change a single byte of the input and the output changes completely, which makes hashes the standard way to check that a file arrived exactly as it left — the reason projects publish a checksum alongside a download.
This produces every common algorithm at once, so you do not have to know in advance which one a publisher used. Paste a checksum into the verify box and it tells you which algorithm matched, or that none did.
Files are hashed in your browser. That matters more than it might sound: uploading a file somewhere to check its integrity defeats much of the point, and it means large files can be checked without waiting for an upload. SHA algorithms use the Web Crypto API, and MD5 is implemented here because Web Crypto deliberately omits it.
How to generate a hash
Choose your input
Hash text you type, checksum a file from your device, or sign a message with HMAC.
Add the content
Type the text or drop the file in. Text hashes update as you type.
Read the results
Every algorithm is shown at once, with the insecure ones clearly marked.
Verify a checksum
Paste a published checksum to confirm which algorithm matches, or that the file differs.
Which algorithm should I use?
- SHA-256 — the sensible default for anything security-related.
- SHA-512 — stronger, and faster than SHA-256 on 64-bit hardware.
- SHA-384 — a truncated SHA-512, required by some standards.
- SHA-1 — broken for security since 2017, but still used for Git object ids and older checksums.
- MD5 — broken for security, still the most commonly published checksum for detecting a corrupted download.
What hashing is not
Hashing is not encryption. There is no key and no way to reverse it — which is the point, but it also means you cannot use it to hide something you need to read back later.
Hashing a password with a plain hash like SHA-256 is also not enough on its own. Password storage needs a deliberately slow algorithm such as bcrypt, scrypt or Argon2, because a fast hash is fast for an attacker too.