File Hash Generator
Checksums of local files, with a match check and SHA256SUMS verification.
Get the MD5, SHA-1, SHA-2, SHA-3, or Keccak-256 hash of any text, several at once if you like. The hash generator can also compare the result with a checksum you already have.
Hashed as UTF-8. A trailing space or line break changes the hash.
A hash function turns any input into a fixed-length value. The same input always gives the same hash, and changing a single character gives a completely different one.
crypto.subtle.digest).The text hello:
5d41402abc4b2a76b9719d911017c592aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b98243338be694f50c5f338814986cdf0686453a888b84f424d792af4b9202398f392LPJNul+wow4m6DsqxbninhsWHlwfp0JecwQzYpOLmCQ=An empty string has the SHA-256 hash e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.
| Algorithm | Output size | Hex length | Status |
|---|---|---|---|
| MD5 | 128 bits | 32 | Broken, checksums only |
| SHA-1 | 160 bits | 40 | Broken, checksums only |
| SHA-256 | 256 bits | 64 | Secure |
| SHA-384 | 384 bits | 96 | Secure |
| SHA-512 | 512 bits | 128 | Secure |
| SHA3-256 | 256 bits | 64 | Secure |
| SHA3-512 | 512 bits | 128 | Secure |
| Keccak-256 | 256 bits | 64 | Secure, used by Ethereum |
You can often tell which algorithm produced a checksum from its length alone. A 64-character hex string on a download page is almost always SHA-256, although SHA3-256 and Keccak-256 have the same length.
A fixed-length fingerprint of data. Changing even one character of the input produces a completely different hash.
No. Hash functions are one-way. You can only check whether some input produces the same hash.
Use SHA-256 for checksums and integrity checks. MD5 and SHA-1 are still used for older checksums but are broken for security purposes.
Yes. Paste the text into the box and the expected hash into "Compare with". Tick the algorithm that produced it, or tick several if you are not sure, and look for the Match badge.
Untick the other algorithms and leave the one you need ticked. The page then shows a single row. The same works for SHA-1, SHA-384, SHA-512, and each SHA-3 size.
Often used together with Hash Generator.
Checksums of local files, with a match check and SHA256SUMS verification.
Signs text or files with HMAC-SHA256 and other hashes, and checks signatures.
Creates bcrypt password hashes and checks passwords against existing hashes.