100% free
Hash generator
Drag a file here or
0 characters
| Algorithm | Length | Security | Used for |
|---|---|---|---|
| MD5 | 128 bits | Insecure | Checksums, legacy systems |
| SHA-1 | 160 bits | Deprecated | Git commits, older signatures |
| SHA-256 | 256 bits | Secure | SSL/TLS, signatures, checksums |
| SHA-512 | 512 bits | Secure | High-security applications |
| HMAC | variable | Uses a key | API signatures, webhooks |
Generating a hash with MD5, SHA-1, SHA-256 and SHA-512
- Stay on the 'Generate' tab.
- Enter text or drag a file into the field.
- The tool calculates MD5, SHA-1, SHA-256 and SHA-512 in one pass.
- Copy the hash you need.
One extra space or a line break at the end changes the hash completely. The tool treats text as UTF-8. For files it works on the raw bytes, so the value matches what a command-line program prints for the same file.
The tool reads the whole file into your browser's memory. For very large files the calculation can therefore take a while.
Checking a download with hash verification
- Open the 'Verify' tab.
- Paste the hash from the download page into the 'Expected hash' field.
- Select the file you downloaded.
You don't have to pick the algorithm. The tool compares your hash with all four calculated values and names the one that matches. If none matches, the file has been changed or damaged, or the download page uses an algorithm the tool doesn't offer.
Comparing hashes and calculating HMAC
On the 'Compare' tab you paste two hashes. Uppercase versus lowercase and spaces don't matter. A prefix such as "sha256:" is removed, and in a line like "hash filename" only the hash counts. The same notations work on the 'Verify' tab.
On the 'HMAC' tab you enter a message and a secret key. The tool returns the HMAC with SHA-256 and with SHA-512. You can use it to check whether a webhook signature is correct, for example. If the message or the key is missing, the tool calculates nothing.
MD5 hashes, SHA-256 hashes and passwords
Don't use MD5 or SHA-1 for passwords, because both are considered insecure. A single SHA-256 hash isn't meant for passwords either. Passwords call for dedicated methods such as bcrypt or Argon2.
For download checksums, SHA-256 is the common choice. MD5 only makes sense if a provider gives you nothing else.
To find out whether two files are identical, compare their SHA-256 hashes. If the values are equal, the files match byte for byte for all practical purposes.
Frequently asked questions
What is a hash?
What is HMAC?
What is the difference between MD5, SHA-256 and SHA-512?
What are hashes used for?
Can a hash be reversed?
Is MD5 still secure?
Is my data stored?
Is there a file size limit?
Which notations does verification accept?
Related tools
Changelog
November 20, 2026
Error messages and more flexible checksums
- • Fixed: when you hashed a new file and reading failed, the hash of the previous file stayed on screen. It is now reset.
- • Fixed: if reading or calculating a file fails, an error message appears instead of nothing.
- • New: verification recognizes checksums with a prefix such as "sha256:" and lines in the format "hash filename", and ignores spaces inside the hash.
- • The FAQ states that there is no size limit but that the whole file is read into memory.
- • The v1.2.0 entry now correctly says there is no progress display.
November 17, 2026
Guide and a more precise FAQ
- • Added a guide with instructions and use cases directly below the tool.
- • Added related tools at the end of the page.
- • The FAQ now recommends bcrypt or Argon2 for passwords instead of a single hash, in line with the guide.
December 28, 2025
Binary file hashing and checksum verification
- • Added binary file upload for real file hashes.
- • Added checksum verification against an expected hash.
- • Added file size and type display.
- • Added drag and drop support.
- • Note added on November 20, 2026: there is no progress display. While calculating, the tool only shows the note "Calculating file hashes...".
Show older versions
December 20, 2025
Hash comparison and HMAC
- • Added hash comparison for checking file integrity.
- • Added HMAC support for SHA-256 and SHA-512.
- • Added a secret key field for API signatures.
- • Added a visual indicator when hashes match.
December 17, 2025
Launch
- • MD5 hash generation.
- • SHA-256 hash generation.
- • SHA-512 hash generation.
- • SHA-1 hash generation.
- • File hash calculation.
- • Copy with one click.
- • Runs entirely in the browser.