Hash Generator
- Free forever
- No sign-up
- Files stay on your device
Generate SHA-1, SHA-256, SHA-384 or SHA-512 hashes locally.
About Hash Generator
Gives you a fingerprint of a file or some text. People use it to check a download matches the checksum its publisher lists, to confirm two copies of a file are identical, or to get a digest for a script or API test. SHA-256 is the usual choice, and SHA-1 is only for older systems. Text is hashed as UTF-8, and the result is lower-case hex.
How to use Hash Generator
- Type or paste your text in the Text box, or pick a file under Or choose a file.
- Choose an Algorithm from the list: SHA-256, SHA-1, SHA-384 or SHA-512.
- Click Generate Hash to see the result as a string of letters and numbers.
- Compare it with the checksum published by the file's source to check nothing has changed.
How your data is handled
Hashes are worked out by your browser's built-in Web Crypto functions. The text and files you choose stay on your device and aren't uploaded or stored.
Limits and accuracy
- Only SHA-1, SHA-256, SHA-384 and SHA-512; there's no MD5, SHA-3 or HMAC.
- Files are read into memory whole, so very large files may fail on phones.
- SHA-1 is no longer safe for security uses, and NIST is retiring it by 2030.
Questions and answers
Can it make an MD5 hash?
No. It supports SHA-1, SHA-256, SHA-384 and SHA-512, which are built into your browser. MD5 is old and no longer considered secure, so SHA-256 is the better choice for checking files.
How do I check a download's checksum?
Choose the downloaded file, pick the algorithm the website lists, often SHA-256, and click Generate Hash. If the result matches their checksum exactly, the file is complete and hasn't been changed.
Is my file uploaded to calculate the hash?
No. The hash is worked out in your browser, so the file and text stay on your device. Very large files may not open on phones or computers with little memory.
Why does my hash differ from another tool's for the same text?
A hash changes completely with a single different byte, so a trailing space, an extra line break or a different text encoding gives a new result. Text here is hashed exactly as typed, in UTF-8.
Do I need to sign up?
No. SHA-256 Hash Generator is free with no sign-up, no login and no daily limit, and there's nothing to install. It works on a phone as well as a PC.
Can I get the SHA-256 of a file?
Yes. Choose a file and the hash is calculated in your browser, which is how you check a download against the hash a vendor publishes. SHA-1, SHA-384 and SHA-512 are there too.
Can a SHA-256 hash be reversed?
No. A hash is one-way; the only way to 'decrypt' one is to guess inputs and compare, which is why passwords are stored as salted hashes.