Hash Generator
MD5, SHA-1, SHA-256, and SHA-512 of text or files
Hashed as UTF-8, exactly as typed, including spaces and line breaks.
Hashes
- MD5
- f62efd51eb85ca300e399c00f7522cb5
- SHA-1
- 20389f1318db6ef51b7dd2e158c9fe14e5382ac6
- SHA-256
- a5f70d3622ba5a285b0c983a1f0e3e912b558c2f78ca5f8a12500d817479142d
- SHA-384
- 4f0925131437a06988a62cf34b59a00e1217cbbe613342e0ea7e30051f24dd68c4eabaeafa8b6281ae2ef35fd598dad4
- SHA-512
- af632db506bf270f4422d8bfd14386add5cfe557e6cad90cd55a3512793ce79b4d3b6161830163e4c73ca86e862589053c1d2015b3903aa87a98549f8f28d366
Hash Generator guide
A hash function turns any text or file into a short, fixed-length fingerprint. The same input always gives the same hash, and changing a single byte changes it completely, which makes hashes useful for checking downloads, spotting duplicates, and building cache keys. This tool computes MD5, SHA-1, SHA-256, SHA-384, and SHA-512 at once.
Which algorithm to use
- SHA-256. The safe default for checksums, signatures, and anything security-related.
- SHA-512 and SHA-384. Longer hashes from the same SHA-2 family, often faster than SHA-256 on 64-bit machines.
- SHA-1. Broken for security since 2017, but still used for Git commit IDs and older checksums.
- MD5. Broken for security since 2004. Fine for spotting accidental corruption or duplicate files, never for passwords or signatures.
Checking a download
Click Hash a file and choose the file, then paste the checksum published by the site you downloaded it from into Check against a hash. A match means your copy is identical to the original, byte for byte.
Hashing is not encryption
A hash can't be turned back into the original text, and there is no key. To store passwords, use a slow password hash such as bcrypt, scrypt, or Argon2, never plain MD5 or SHA, which are fast enough to guess billions of candidates per second.
From the command line
# macOS
shasum -a 256 file.zip
md5 file.zip
# Linux
sha256sum file.zip
# Windows
certutil -hashfile file.zip SHA256