Hash Generator

Generate MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 hashes and CRC32 checksums.

1
Bytes: 0

Hash results

AlgorithmHash
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

Output size and suitable use of each algorithm
AlgorithmBitsHex charactersUse for
SHA-25625664Integrity checks, signatures, general use
SHA-512512128Same uses; faster than SHA-256 on 64-bit machines
SHA-38438496TLS and certificate suites
SHA-22422456Shorter SHA-2 output where space is tight
SHA-116040Legacy only: collisions are practical
MD512832Legacy only: file checksums, never security
CRC32328Detecting accidental corruption, not tampering

See also