About hashing
This hash generator turns any text into its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes at once. A hash is a fixed-length fingerprint of the input — the same text always produces the same hash, and even a one-character change produces a completely different one. It is computed entirely in your browser; nothing is uploaded.
How Hash Generator works
What a hash is for
Hashes are used to verify that data has not changed (checksums), to index data, and as building blocks in security. They are one-way: you cannot turn a hash back into the original text. The SHA hashes here use your browser's built-in Web Crypto, and MD5 uses a small JavaScript library.
Which one should I use?
For checksums and integrity checks, SHA-256 is a solid default. MD5 and SHA-1 are fine for non-security checksums but should not be used for passwords or signatures, as they are no longer collision-resistant. For password storage, a dedicated algorithm like bcrypt or Argon2 is needed instead.
Common uses
- Generate an MD5 hash
- Generate a SHA-256 hash
- Create a checksum to verify a file or text
- Compare two texts by their hash
- Get SHA-1, SHA-384 and SHA-512
- Produce a fingerprint of data
- Check data integrity
- Create a cache key