Hash generator
Type text or open a file: every hash appears at once. Paste a checksum below to check it. The gray text is an example.
Example: the text “hello”, 5 bytes as UTF-8.
- MD5
5d41402abc4b2a76b9719d911017c592- SHA-1
aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d- SHA-256
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824- SHA-384
59e1748777448c69de6b800d7a33bbfb9ff1b463e44354c3553bcdb9c666fa90125a3c79f90397bdf5f6a13de828684f- SHA-512
9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043
Options
Good to know
- Which one
- Use SHA-256 to check downloads; it is what most sites publish. MD5 and SHA-1 still spot accidental changes, but they are broken for security: two different files can be made to share a hash.
- Text or file
- Text is hashed as UTF-8, exactly as typed. A line break at the end changes the hash, which is why
echo hello | sha256sumdiffers from this page: useprintf hello. To hash a file's exact bytes (line endings included), open the file. - Checking
- Paste the checksum from the download page. Capital letters, spaces, colons and a leading
0xare ignored; the matching row is marked. - Passwords
- Do not store passwords as plain hashes. Use a password hash made to be slow, such as Argon2, bcrypt or scrypt.
- In a terminal
- Linux
sha256sum file, macOSshasum -a 256 file, Windowscertutil -hashfile file SHA256or PowerShellGet-FileHash file. Files over 500 MB are best hashed there. - Open from a link
?text=helloopens the page with the hashes of that text; add&expected=…to check one.