Generate MD5 and SHA hashes from text
This hash generator turns any text into MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes at once. Type or paste your text and every hash updates instantly, ready to copy. It is handy for creating checksums, comparing a value against a known hash, generating cache keys, or producing an ETag. Everything runs in your browser, so the text you hash never leaves your device.
Which hash should you use?
- MD5 and SHA-1 are fast and fine for checksums and cache keys, but are not safe for security because collisions are known.
- SHA-256 is the modern default when you need a secure, collision-resistant hash.
- SHA-384 and SHA-512 give a longer digest for cases that call for extra strength.
Frequently asked questions
How do I generate an MD5 hash?
Type your text into the box and copy the MD5 value from the results. It updates the moment you type.
How do I create a SHA-256 hash?
Enter your text and copy the SHA-256 row. The tool also shows SHA-1, SHA-384, and SHA-512 at the same time.
Are the hashes generated in my browser?
Yes. All hashing runs locally using your browser's built-in crypto, so nothing is sent to a server.
Can I reverse a hash back to the text?
No. Hashes are one-way by design. You can only compare a new hash against an existing one, not decode it.