Hash Generator
Hash text with MD5, SHA-1, SHA-256, SHA-384, or SHA-512, compare the digests side by side, and see a warning when a legacy algorithm is picked.
How to use
- Type or paste the text to hash.
- Choose the algorithm.
- Copy the digest.
A hash generator turns text into a fixed-length digest. SHA-256 and SHA-512 are safe for integrity checks, while MD5 and SHA-1 are broken for that purpose and are listed here only for checking legacy values.
Paste or type something above.
Questions about hash generator
- Is MD5 or SHA-1 safe to use?
- No. Both have practical collision attacks, so use SHA-256 or SHA-512 for anything security related. They remain useful for cache keys and legacy checksums.
- Why does the same text always give the same hash?
- A hash is a pure function of the input, so there is no salt or randomness involved.
- Can a hash be reversed?
- No. It is not encryption, but you cannot recover the text from the digest without guessing the original.
Related tools
- SHA-256 Generator Generate the SHA-256 hash of any text as hex or Base64, the digest format used for checksu...
- SHA-512 Generator Generate the SHA-512 hash of any text as hex or Base64, the 512-bit digest used for checks...
- HMAC Generator Sign a message with a secret key using HMAC SHA-1, SHA-256, SHA-384, or SHA-512, and copy...