Encryption & hashing
SHA-256 Hash Generator
Compute the SHA-256 (or SHA-1, SHA-384, SHA-512, HMAC) hash of text or files and check it against an expected value, without uploading anything.
How to use this tool
- 1
Choose “Text” or “Files”, then the algorithm (SHA-256 by default).
- 2
Type the text or drop the files; add an HMAC key if needed.
- 3
Read the hash and pick its display (hex or base64).
- 4
Paste the expected hash to check the match, then copy or save the results.
Help
- SHA-256 is the reference hash for checking the integrity of a file or text: a single changed bit completely changes the result.
- SHA-1, SHA-384 and SHA-512 are available as options. SHA-1 is obsolete for security; SHA-512 gives a longer hash.
- Tick HMAC to get an authentication code with a secret key (text or hex): only someone who knows the key can reproduce the same hash.
- Files are read in 4 MB blocks with progress, one at a time; the hash can be compared with a pasted value (hex, base64 or a `sha256sum` line).
- Text is hashed as UTF-8, as is. A plain hash does not protect passwords: use bcrypt for that.
Related guide : MD5, SHA-256 and bcrypt hashes: verifying a file, storing a password
Frequently asked questions
Is SHA-256 enough to store passwords?
No. SHA-256 is deliberately very fast, which helps an attacker try billions of passwords per second. For passwords use a slow algorithm such as bcrypt (a tool is available on MaxyTools).
What is the difference between a hash and an HMAC?
A hash depends only on the data: anyone can recompute it. An HMAC mixes a secret key into the data: it proves the message comes from someone who knows the key and was not altered.
How do I verify a download?
Drop the file and paste the SHA-256 published by the vendor into “Compare”: “Matches” confirms the file is identical to the original. The file stays on your device.
Written and verified by the MaxyTools team · Updated on
Did this tool help you?
Did this tool help? Share it