Hash Generator
SHA-1, SHA-256, SHA-384 & SHA-512 hashes, calculated in your browser.
Hashes are calculated with your browser’s built-in Web Crypto API. Nothing is sent to a server. MD5 is not offered: the Web Crypto API does not include it, and it is broken for security use.
How to use the Hash Generator
- Type or paste your text, or choose a file to hash instead.
- Pick the hash algorithm and the output format (hex or Base64).
- Copy the hash, or paste an expected hash to check whether it matches.
Hash Generator FAQs
What is a SHA-256 hash?
SHA-256 is a cryptographic hash function that turns any input into a fixed 256-bit fingerprint, shown as 64 hexadecimal characters. The same input always gives the same hash, and even a one-character change gives a completely different hash. It is used to check that files and data have not been changed.
Is my text or file uploaded anywhere?
No. The hash is calculated in your browser with the built-in Web Crypto API. Your text and files never leave your device, which is the whole point of checking a checksum privately.
Why is there no MD5 option?
The browser Web Crypto API does not include MD5, and MD5 is broken for security use: collisions can be made on purpose. For checksums and integrity checks, use SHA-256, which this tool offers alongside SHA-1, SHA-384 and SHA-512.
How do I verify a downloaded file?
Choose the file on the File tab, select the algorithm the publisher used (usually SHA-256), and compare the hash shown here with the hash published on the download page. Paste the published hash into the expected-hash box and this tool will tell you whether they match.
What is the difference between hex and Base64 output?
They are the same hash in two notations. Hex shows each byte as two characters (64 characters for SHA-256); Base64 is shorter (44 characters for SHA-256). Pick whichever format the site or tool you are comparing against uses.
Free Hash Generator — SHA-256, SHA-1, SHA-384 & SHA-512 Online
This free hash generator creates SHA-1, SHA-256, SHA-384 and SHA-512 hashes for text and files right in your browser, so you can verify downloads and data without uploading anything to a server.
How to use it, step by step
- Enter text on the Text tab, or switch to the File tab and choose a file from your device.
- Choose the hash algorithm and whether you want the result in hex or Base64.
- Copy the hash, or paste an expected hash to check for an exact match.
Popular uses
- Verify a downloaded file against the checksum published by its maker.
- Check that a copied file or backup is identical to the original.
- Generate test hashes while building or debugging software.
- Compare a hash from a log, receipt or API response with your own data.
