Hash Generator
Get the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of any text or file at once, or an HMAC with a secret key.
Text
Hashes
- MD5 not for security
d41d8cd98f00b204e9800998ecf8427e
- SHA-1 not for security
da39a3ee5e6b4b0d3255bfef95601890afd80709
- SHA-256
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- SHA-384
38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b
- SHA-512
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
How to use it
- 1Type or paste text, or choose a file to hash its exact bytes.
- 2All algorithms are computed at once; switch between hex and Base64 output.
- 3For an HMAC, tick "HMAC" and enter the secret key.
Private by design
Everything runs in this browser tab. Your input is never uploaded, logged or saved on a server, and there are no public "recent" pages. Close the tab and it's gone.
How we keep it privateExamples
Input
abc
Output
MD5 900150983cd24fb0d6963f7d28e17f72 SHA-256 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
Which hash to use
| Algorithm | Output | Use it for |
|---|---|---|
| MD5 | 128 bits, 32 hex | Legacy checksums only; broken for security |
| SHA-1 | 160 bits, 40 hex | Git object ids, legacy checks; broken for signatures |
| SHA-256 | 256 bits, 64 hex | File integrity, API signatures, general use |
| SHA-384 | 384 bits, 96 hex | Subresource Integrity (SRI), TLS |
| SHA-512 | 512 bits, 128 hex | Same uses as SHA-256, faster on 64-bit CPUs |
Text is hashed as UTF-8
Text is converted to UTF-8 bytes before hashing, which matches what most languages and command-line tools do (e.g. echo -n "abc" | sha256sum). A trailing newline changes the hash: "abc" and "abc\n" are different inputs.
Frequently asked questions
Is my text or file sent anywhere?
No. Hashes are computed in your browser with the Web Crypto API (MD5 with a small local library). Hashing passwords or keys on a website that sends them to its server would defeat the point.
Can I use these hashes to store passwords?
No. MD5 and SHA are fast by design, which makes password guessing fast too. Store passwords with a slow, salted algorithm such as Argon2id, scrypt or bcrypt.