Hash Generator
Compute MD5, SHA-1, SHA-256, or SHA-512 locally with the Web Crypto API.
The Hash Generator computes MD5, SHA-1, SHA-256, and SHA-512 digests of any text you paste, using the Web Crypto API so the work happens in your browser. A hash is a one-way fingerprint of the input: change even one character and the digest changes completely, but you cannot recover the original text from the digest. Use it to verify file integrity, store checksums, compare two values without keeping either, or demonstrate how hashing works. The tool shows each digest as a lowercase hex string. Note that MD5 and SHA-1 are not recommended for password storage because they are fast and broken; use a slow, salted algorithm such as bcrypt or Argon2 for credentials. A cryptographic hash takes any input and produces a fixed length digest, and it does so deterministically, so the same input always yields the same output while any change, down to a single character, produces a completely different one. That property makes hashes the standard way to check integrity: publish the digest of a file and anyone who downloads it can compute the same digest and confirm nothing was altered in transit. Because the function cannot be run backwards there is no way to recover the input from the digest, which is why hashes are also used to compare secrets without storing them in the clear. The algorithm you pick matters. MD5 and SHA-1 are fast and have known collision attacks, so they are fine for casual integrity checks and for non security purposes such as generating a cache key, but they should not be trusted to protect a secret or to prove authenticity. Modern choices are SHA-256 and SHA-512. One further caution: hashing is not the right tool for passwords, since fast hashes are easy to brute force at scale, and a deliberately slow, salted algorithm such as bcrypt or Argon2 is the correct choice there.
Hash appears here.
Frequently Asked Questions
Which algorithms are available?
Common ones like MD5, SHA-1, SHA-256, and SHA-512 for checksums and integrity checks.
Is a hash reversible?
No. Hashing is one-way; you cannot recover the input, only verify a match by hashing again.
Is MD5 safe for passwords?
No. MD5 is broken for security use; use a slow, salted password hash like bcrypt or Argon2.