Hash Generator: SHA-256, SHA-3, BLAKE3 and MD5 Explained
By FindMySum · Last reviewed
This hash generator turns any text into its SHA-256 digest, and into twelve other hashes at the same time, as you type. Paste a checksum you were given to see which algorithm it matches. Everything happens in your browser, and what you type is never sent anywhere or saved in a link.
What a hash is for
A cryptographic hash is a fixed-length fingerprint of some data. The same input always gives the same digest, a change of a single character gives a completely different one, and it is practically impossible to find two inputs with the same digest. That makes hashes useful for checking that a download arrived intact, spotting whether two files are identical without comparing them byte by byte, building identifiers for content (Git commits, Ethereum addresses) and as the building block of digital signatures.
How to use the tool
- Type or paste the text. Choose Hex bytes instead if you have raw bytes written as hex, such as
de ad be ef. - The main algorithm (SHA-256 unless you pick another) is shown first; every other algorithm is listed below with its size and standard.
- To check a file's published checksum against text you have, paste the checksum into the compare box. Upper or lower case, spaces, colons and Base64 are all accepted.
A worked example
The three letters abc are the bytes 61 62 63 in hex. Their SHA-256 digest, the first example NIST publishes for the algorithm, and their MD5 digest are:
SHA-256 ba7816bf8f01cfea414140de
5dae2223b00361a396177a9c
b410ff61f20015ad
MD5 900150983cd24fb0d6963f7d
28e17f72
Add a full stop to get abc. and every one of the 64 hex digits of the SHA-256 digest changes. The MD5 digest is only 32 hex digits long because MD5 keeps 128 bits rather than 256.
Common mistakes
Using a hash as encryption. A hash can't be decrypted, so it can't protect data you need back. Use encryption for that.
Storing passwords with a fast hash. SHA-256 and MD5 are designed to be fast, which helps attackers guess. Password storage needs a slow, salted function.
Comparing digests of different bytes. Line endings, a trailing line break and the character encoding all change the result. When two tools disagree, the input almost always differs.
To make strong random passwords instead, use the password generator; to see the bytes of a text in Base64, use Base64 decode and encode.