Hash Generator
Type some text or choose a file and get its SHA-1, SHA-256, SHA-384 and SHA-512 hashes. Paste a hash you were given to see whether it matches. Files never leave your device.
Use the tool
Loading the tool…
About Hash Generator
Make a hash, a fixed-length code made from text or a file, using SHA-256, SHA-512, SHA-384 or SHA-1. Show the result in lower-case hex, capital hex or Base64. Paste a hash you were given to check whether it matches.
Worked example
Type a short message, choose SHA-256 and copy the hash. Paste the same hash into the compare box to see that it matches.
Limits
SHA-1 is no longer safe for security uses, so choose SHA-256 or stronger for checking files. A matching hash shows the data is the same, not that it is safe.
How to use Hash Generator
- Type text in the box, or choose a file.
- Pick how to show the hash: lowercase hex, capital hex or Base64. Optionally paste a hash to compare with.
- Select Create the hashes and read or copy the results.
Good to know
- A file chosen here takes priority over the text box.
- Hashes check that a file is unchanged. They do not prove who made it.
- SHA-1 is old and is not safe for security uses. It is shown only so you can check older checksums.
- Hashing needs a secure page (https). On a plain http page the browser blocks it and the tool says so.
- Line breaks in the text box count as a single line feed character, so text pasted from a Windows file can hash differently from the file itself. To get the exact hash of a file, choose the file.
Frequently asked questions
Is my file uploaded?
No. The file is read and hashed in your browser. Nothing is sent.
Why is MD5 missing?
The browser does not provide MD5, and it is no longer safe for security checks.
How do I check a download?
Choose the file, paste the checksum the publisher gave you into the compare box, and the tool tells you whether it matches.