How to use the Hash Generator
- Type text or choose a file
- All hashes are calculated instantly
- Copy the hash you need
MD5, SHA-1, SHA-256 and SHA-512
Type or paste text to see its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes instantly, or drop a file to get its checksums. Paste an expected hash into โVerifyโ and a โ appears next to the matching algorithm.
Examples
For the text โhello worldโ: MD5 = 5eb63bbbe01eeed093cb22bb8f5acdc3; SHA-256 = b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9. Change one letter and the hash changes completely. Hashing only works one way โ a hash can't be turned back into the original text.
Verify a download
Drop the file you downloaded, paste the checksum from the publisher's website, and look for the โ. On Windows you can also run Get-FileHash file.iso in PowerShell, or certutil -hashfile file.iso SHA256.
Passwords and keys
Plain MD5 or SHA hashes aren't safe for storing passwords โ attackers can test billions per second. Real systems use a slow, salted algorithm such as bcrypt or Argon2. To add a salt here, include it in the text yourself. Keyed hashes (HMAC) aren't included.
In Python
hashlib.sha256("text".encode()).hexdigest() gives the same result as this page for the same text.