Hash Generator (MD5/SHA-1/SHA-256)
Computes the MD5, SHA-1, and SHA-256 hash of your text in real time. All processing happens in your browser, and nothing you type is ever sent to a server. Need a random string instead? Try the Password Generator as well.
🔒 Runs in your browser · Your data is never sent to a server
Notes
- MD5 and SHA-1 have known vulnerabilities and should not be used for security-sensitive purposes such as password storage.
- Input is matched exactly, including line breaks and spaces.
Glossary
Hash value
A fixed-length string computed from input data using a set procedure. The same input always produces the same hash, but you cannot reverse a hash back into the original data.
MD5
An older hash function. Methods for deliberately producing two different inputs with the same MD5 hash (collisions) are well known, so avoid it for security-sensitive uses such as tamper detection or password storage.
SHA-1
Widely used as MD5's successor, but it also has known weaknesses and is now discouraged for security purposes.
SHA-256
Part of the SHA-2 family. It is still considered secure and is used widely, including in digital certificates and blockchains.
FAQ
Can I use MD5 or SHA-1 to store passwords?
You should not. MD5 and SHA-1 have known weaknesses. For password storage, use dedicated algorithms such as bcrypt or Argon2.
Why do identical-looking strings give different hashes?
Input is compared exactly, including line breaks and spaces. A trailing newline or a full-width space produces a completely different hash.
Can a hash be reversed to the original text?
No. A hash is a one-way function and cannot be reversed. It is used for integrity checks and comparing data.
Share this page
