Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes
Generate cryptographic hashes from text
Click to hash common test strings
Generate checksums for any file
Check if two hash values match
Generate and compare hashes from two text inputs
Check if a file matches a known hash
Learn about different cryptographic hash functions
Message Digest Algorithm 5. Fast but cryptographically broken. Still used for checksums and non-security purposes.
⚠️ Cryptographically BrokenSecure Hash Algorithm 1. Deprecated for security use since 2017 due to collision attacks.
⚠️ Deprecated / WeakPart of SHA-2 family. Widely used in security applications, TLS, SSL, PGP, SSH, and cryptocurrencies like Bitcoin.
✓ SecureTruncated version of SHA-512. Provides additional security margin over SHA-256.
✓ SecureStrongest SHA-2 variant. Often faster than SHA-256 on 64-bit processors.
✓ SecureVerify downloaded files haven't been corrupted or tampered with by comparing checksums.
Securely store password hashes instead of plain text passwords (use bcrypt or Argon2 for passwords).
Create unique fingerprints for documents to detect any changes.
Identify duplicate files by comparing their hash values.
Standard test values to verify implementation correctness:
MD5: d41d8cd98f00b204e9800998ecf8427e
SHA-256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
MD5: 900150983cd24fb0d6963f7d28e17f72
SHA-256: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
A cryptographic hash function takes input data of any size and produces a fixed-size output. The same input always produces the same hash.
Hash functions are designed to be irreversible. You cannot recover the original data from a hash value.
All hashing is performed locally in your browser. Your data never leaves your device.