Hash generator (MD5, SHA-1, SHA-256)
Runs in your browser – nothing is uploaded.
Calculate the MD5, SHA-1, SHA-256, SHA-384 or SHA-512 digest of some text, shown as hex or Base64. Text is hashed as UTF-8 bytes.
SHA hashes use the Web Crypto API built into your browser. MD5 uses the @noble/hashes library, loaded only when you choose MD5.
Example
Algorithm: SHA-256, Output format: Hex
Input
helloOutput
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824Frequently asked questions
Should I use MD5 or SHA-1?
Only for checksums and compatibility, such as matching a published file checksum or an older system. Both are broken for security: collisions can be created deliberately. Use SHA-256 or stronger for anything security-related.
Can I use this to hash passwords?
No. Passwords should be stored with a slow, salted algorithm such as Argon2, scrypt or bcrypt, not a plain hash.
Can I hash a file?
Not yet. It hashes text you paste or type.