Hash generator

Type text or pick a file to see all its hashes at once. Add a key to get HMAC signatures instead. Nothing leaves your device.

With a key, SHA results are HMAC signatures. MD5 is left as a plain hash.

Output
AlgorithmHashCopy
SHA-256—
SHA-384—
SHA-512—
SHA-1Not safe for passwords or signatures.—
MD5Not safe for passwords or signatures.—

Questions people ask

Which hash should I use?

SHA-256 for almost everything: checksums, content addressing and signatures. SHA-512 is equally safe and can be faster on 64-bit machines. MD5 and SHA-1 are broken for security and should only be used to match legacy checksums.

Should I hash passwords with SHA-256?

No. Fast hashes make brute-forcing easy. Store passwords with a slow, salted algorithm made for the purpose: Argon2id, scrypt or bcrypt.

Is my text or file uploaded?

No. Hashes are computed with your browser’s Web Crypto API (and a small MD5 routine) on your device.