~/tools $ ./hashgen

Hash Generator

Compute MD5, SHA-1, SHA-256, SHA-384, SHA-512, and HMAC-SHA256 of any text as you type.

Runs entirely in your browser. Nothing you paste is sent anywhere.

Digests

Why this is useful

Verifying a download, checking whether two files match, confirming that a hash you cracked is really the right plaintext, or building test data for a lab. Text is encoded as UTF-8 before hashing, which matchesprintf '%s' 'hello world' | sha256sum. Note that echo adds a newline and gives a different hash.

Hashing is not password storage

MD5, SHA-1, and even SHA-256 are designed to be fast, which is exactly wrong for passwords. A GPU computes billions of them per second. Passwords belong in bcrypt, scrypt, or Argon2id, which are deliberately slow and salted. Thehashing guide explains why.