Hash Generator
Create SHA-256, SHA-512 and other hashes of text or a file, and check them against a known value.
Hashing file:
Type text or choose a file to see its hashes.
Compare with a known hash
How to use the hash generator
- Type or paste text, or press Hash a file to choose a file from your device.
- The SHA-1, SHA-256, SHA-384 and SHA-512 hashes appear straight away. Press Copy next to the one you need.
- To verify a download, paste the checksum published by the author into Compare with a known hash. A green message means they match.
About this tool
A hash is a short fingerprint of data. The same input always gives the same hash, and even a one-character change gives a completely different result. That makes hashes useful for checking that a file was not damaged or changed, for example after downloading software.
Files are read and hashed on your own device using your browser’s built-in cryptography, so they are never uploaded. MD5 is not offered because browsers do not include it and it is no longer safe for security uses. SHA-256 is the best default choice.
Frequently asked questions
Can a hash be reversed?
No. A hash is a one-way function, so you cannot get the original text back from it. Short or common texts can be guessed by trying many candidates, though.
Is SHA-1 still safe?
SHA-1 is considered weak for security uses such as signatures. It is still fine for spotting accidental changes. Use SHA-256 or SHA-512 when in doubt.
Should I use these hashes to store passwords?
No. Passwords need a slow, salted method such as bcrypt, scrypt or Argon2, which is done on a server, not with plain SHA hashes.
How large can a file be?
Up to 100 MB. The whole file is read into memory, so very large files may be slow on older phones.