Hash generator

Get the hash of a text with the most widely used algorithms at once: MD5, SHA-1, the SHA-2 and SHA-3 families, RIPEMD-160, Whirlpool, CRC32, xxHash, NTLM, bcrypt and Argon2id. If you only need MD5, we also have an MD5 hash page.

Hash a text

Type the text and press "Generate hashes". If you enter a key, the HMAC is calculated with each algorithm.

Leave it empty to calculate plain hashes.

What is a hash?

A hash function turns a text of any length into a fixed-length string (the fingerprint or digest). The same text always produces the same hash, but the smallest change produces a completely different result, and the original text cannot be recovered from the hash. That is why hashes are used to check file integrity, sign data and store passwords.

Which hash algorithm should I use?

MD5 and SHA-1 are broken for security purposes (collisions can be generated), although they are still useful as checksums. For integrity and signatures use SHA-256, SHA-512 or SHA-3. CRC32 and xxHash are very fast but not cryptographic: they are only meant for error detection or hash tables.

To store passwords never use a fast hash: use bcrypt or Argon2id, which are deliberately slow and include a random salt (that is why their result changes every time you press the button). NTLM is the Windows password hash.

What is HMAC?

HMAC (Hash-based Message Authentication Code) combines a hash function with a secret key. It proves that a message has not been altered and that it comes from someone who knows the key; it is used, for example, to sign webhooks and many APIs.