About the MD5 & SHA Hash Generator
Hashes are fixed-length fingerprints of data. They are used to verify downloads, compare files and store data integrity checks. This tool generates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes.
Hash text or files of any type, compare against an expected checksum and copy the result. Hashing happens locally.
How to use the MD5 & SHA Hash Generator
- Enter text or choose a file.
- Select the hash algorithms.
- Generate the hashes.
- Copy the result or compare it with a checksum.
Key features
- MD5, SHA-1, SHA-256, SHA-512
- Text and file hashing
- Checksum comparison
- Uppercase or lowercase output
Choosing a hash algorithm
MD5 and SHA-1 are fast and still common for checksums, but they are broken for security: attackers can create different inputs with the same hash. Use SHA-256 or SHA-512 for anything security-related, such as verifying software downloads. For storing passwords, none of these are suitable on their own; use a slow password hash such as bcrypt.
A hash is always the same length regardless of input size, and changing a single character produces a completely different result. That property is what makes hashes useful for detecting changes.
Tips for the best results
- Compare the hash of a download with the one published by the developer to confirm the file is genuine.
- Hash files rather than their names; renaming a file does not change its hash.
- Use the comparison box to avoid comparing long strings by eye.
Popular presets
Open the tool already set up for one of these common jobs:
Frequently asked questions
Is MD5 secure?
No. MD5 and SHA-1 are fine for checksums but should not be used for security. Use SHA-256 or better.
Can a hash be reversed?
No. Hash functions are one-way, although weak passwords can be guessed by trying many inputs.
How do I verify a download?
Hash the downloaded file and compare it with the checksum published by the provider.
Why do I get a different hash than another tool?
Check for trailing spaces or line breaks in the text, and make sure both tools use the same encoding (UTF-8).