Developer
Hash Generator (SHA-256, SHA-512)
Get the SHA-256 and other hashes of some text or a file, and check a download against the hash its website gives you.
Hashing: empty text
| Algorithm | Hash | Copy |
|---|---|---|
| SHA-1 | — | |
| SHA-256 | — | |
| SHA-384 | — | |
| SHA-512 | — |
Your text and files never leave your device. Hashes are calculated by your browser’s built-in crypto. A file is read into memory in this tab and not uploaded.
How to use it
- Type some text, or choose a file.
- Read the four hashes. They update as you type.
- To check a download, paste the hash from the website into the compare box. You will see a match or no match.
What a hash is
A hash is a fingerprint of data. The same input always gives the same hash, and a tiny change, even one letter, gives a completely different one. You cannot turn a hash back into the original data. That makes hashes useful for checking that a file was not changed or damaged.
Which one should I use?
- SHA-256 is the usual choice for checksums, and most download pages publish it. It is 64 characters long.
- SHA-512 and SHA-384 are longer variants of the same family.
- SHA-1 is shown because some old systems still use it. It is no longer safe against deliberate tampering, so do not rely on it for security.
What about MD5?
MD5 is not offered. Browsers do not include it in their built-in crypto because it is broken for security uses, and this tool does not load extra code to add it. If a site only publishes an MD5, use SHA-256 from a trusted source where you can.
Do not hash passwords with this
A plain SHA hash is fast, which is exactly wrong for storing passwords. Websites should use a slow password hashing method such as bcrypt or Argon2, with a salt. This tool is for checksums and learning.
Tested, not guessed
Every number below comes from running this tool, not from a guess.
Example
The three letters abc give these hashes:
abc
SHA-1: a9993e364706816aba3e25717850c26c9cd0d89d
SHA-256: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
Change one letter (abd) and SHA-256 becomes a completely different value: a52d159f262b2c6ddb724a61840befc36eb30c88877a4030b65cbe86298449c9
Limits
- Files up to 200 MB. Algorithms: SHA-1, SHA-256, SHA-384 and SHA-512. MD5 is not included.
- Needs a secure (https) page, which this site uses.
Frequently asked questions
How do I verify a download?
Choose the downloaded file, then paste the SHA-256 from the official page into the compare box. If it says match, the file is the same.
Why does my hash differ from another tool?
Often because of invisible differences: a trailing newline, a different line ending or different text encoding. Text here is hashed as UTF-8 exactly as typed.
Is there a file size limit?
Yes, 200 MB, because the whole file is held in memory in your browser tab.
Is anything uploaded?
No. Everything runs in your browser.