Hash Generator
Generate MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 hashes and CRC32 checksums.
Hash results
| Algorithm | Hash | |
|---|---|---|
| Enter text to generate hashes | ||
Computes SHA-256, SHA-512, SHA-384, SHA-224, SHA-1 and MD5 hashes and a CRC32 checksum of any text, all at once, as you type. Hashing runs in your browser; the text is not sent anywhere.
How to use it
Type or paste text; every hash updates immediately, with a copy button on each row. The byte count below the input is the size of the text in UTF-8, which is what gets hashed.
Uppercase output shows hex digits A–F in capitals. The hash is the same either way.
Line breaks are hashed as LF, the Unix line ending: browsers turn Windows line endings (CRLF) in typed or pasted text into LF. A Windows file with CRLF endings therefore hashes differently from the same text here.
What a hash is for
A hash turns any input into a fixed-length fingerprint: the same input always gives the same hash, and changing a single character changes it completely. It cannot be reversed to get the text back.
Compare a hash with a published one to check that a download or message is intact. For storing passwords, use a slow, salted algorithm such as bcrypt, scrypt or Argon2 instead of any of these — they are built to be fast, which helps attackers guess.
Algorithms
| Algorithm | Bits | Hex characters | Use for |
|---|---|---|---|
| SHA-256 | 256 | 64 | Integrity checks, signatures, general use |
| SHA-512 | 512 | 128 | Same uses; faster than SHA-256 on 64-bit machines |
| SHA-384 | 384 | 96 | TLS and certificate suites |
| SHA-224 | 224 | 56 | Shorter SHA-2 output where space is tight |
| SHA-1 | 160 | 40 | Legacy only: collisions are practical |
| MD5 | 128 | 32 | Legacy only: file checksums, never security |
| CRC32 | 32 | 8 | Detecting accidental corruption, not tampering |
See also
- UUID Generator & Validator — for random identifiers rather than fingerprints of content.
- Password Generator — to create a strong password.