Free · No sign-up · Private
Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text.
Quick answer
Type text, choose an algorithm and the hash appears instantly in hexadecimal. The same input always gives the same hash, and changing a single character changes the whole result. The SHA-256 hash of “Hello, world!” starts 315f5bdb76d078c4.
—Step by step
How to use the Hash Generator
01
Enter text.
02
Choose a hash algorithm.
03
See the hash digest.
Worked examples
Hash lengths
| Algorithm | Bits | Hex characters | Status |
|---|---|---|---|
| SHA-1 | 160 | 40 | Broken for security; fine for checksums |
| SHA-256 | 256 | 64 | Recommended |
| SHA-384 | 384 | 96 | Recommended |
| SHA-512 | 512 | 128 | Recommended |
Good to know
Checking a file download
Publishers often list a SHA-256 checksum next to a download. Comparing it with the hash of the file you received confirms it was not corrupted or altered. This tool hashes text; for files, use your operating system’s command, such as certutil or shasum.
Hashes are not for storing passwords
Fast hashes such as SHA-256 can be guessed at billions of attempts per second. Password storage needs slow, salted algorithms such as Argon2 or bcrypt.
Properties of a good hash
A cryptographic hash is deterministic (the same input always gives the same output), fast to compute, and practically impossible to reverse or to find two inputs with the same output. Even a one-letter change produces a completely different hash, the “avalanche effect”, which makes hashes useful for detecting any change to a file or message.
FAQ
Frequently asked questions
Can a hash be reversed?
No. Hashes are one-way; the only attack is guessing inputs and comparing.
Why is MD5 not offered?
The browser’s Web Crypto API does not support MD5, and it should not be used for anything security-related.
More generators tools
Related tools
Color Palette Generator
Generate five-color palettes, including wedding color palettes, pastels and earth tones, and copy the HEX codes.
Open toolPassword Generator
Generate strong random passwords with custom length and character sets.
Open toolQR Code Generator
Generate a downloadable QR code from any text or URL.
Open toolUUID Generator
Generate one or many RFC 4122 version 4 UUIDs.
Open tool