Hash Generator
Calculate SHA-1, SHA-256, SHA-384, and SHA-512 hashes for text and files.
Processed on your device. Nothing you type is sent anywhere.
How to use: Hash Generator
- Enter text or click Calculate file hash.
- All four hashes (SHA-1, SHA-256, SHA-384, and SHA-512) appear together.
- To verify a download, paste the checksum published by the provider into the comparison field.
About this tool
What is a hash used for?
A hash is a fixed-length "fingerprint": any change, even to a single character, produces a completely different result. Common uses include:
- Verifying downloads: Linux distributions, installers, and ISO files publish an official SHA-256 hash. If the hash of your downloaded file matches, it arrived intact and unchanged.
- Proving a document hasn't changed: Save the SHA-256 hash of a contract or report, then recalculate and compare it later.
- Finding duplicate files: Files with the same hash have identical contents, even if their names differ.
Hash length by algorithm
| Algorithm | Bits | Hexadecimal characters | Notes |
|---|---|---|---|
| SHA-1 | 160 | 40 | Practical collisions demonstrated in 2017; use only for compatibility |
| SHA-256 | 256 | 64 | The most widely used standard for checksums |
| SHA-384 | 384 | 96 | Part of the SHA-2 family; used in certificates and TLS |
| SHA-512 | 512 | 128 | Part of the SHA-2 family; produces a longer output |
To verify a file without a browser: on Windows, use certutil -hashfile arquivo.iso SHA256; on Linux, use sha256sum arquivo.iso; on macOS, use shasum -a 256 arquivo.iso.
Hashing is not encryption
You can't "decrypt" a SHA-256 hash—the calculation only works one way. Even so, a simple hash isn't suitable for storing passwords, because common passwords can be found through guessing. Systems should use slow, salted algorithms such as Argon2, bcrypt, scrypt, or PBKDF2. If you just need to turn data into text and back again, you're looking for Base64.
Frequently asked questions
Why isn't MD5 available?
This tool uses your browser's Web Crypto API, which supports SHA-1 and the SHA-2 family, but not MD5. MD5 has also had known collisions for years. If the provider offers both options, choose SHA-256.
Does the hash change if I rename the file?
No. The hash is calculated from the file's contents; the name, date, and folder aren't included. For text, even an extra space or line break changes the result.
Is it really free? Is there a daily limit?
It's free with no daily limits. Processing happens on your device, so there's no per-use cost and no need to limit you.
Does it work on phones?
Yes. The site works in any modern browser on Android, iPhone, Windows, Mac, and Linux—no installation needed.






