What is the Hash Generator (MD5, SHA-256)?
A cryptographic hash function turns any input, a single word or a 4 GB file, into a fixed-length fingerprint. The same input always gives the same hash. Change one bit and the hash changes completely. Hashes are used to verify downloads, detect duplicate files, sign data and build caches.
This hash generator calculates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at the same time, for text (encoded as UTF-8) or for any file you choose. SHA hashes use your browser's native Web Crypto API. Files are read locally, so you can safely check large or private files. Paste an expected checksum into the Verify box to confirm that a download is intact.
How to use the Hash Generator (MD5, SHA-256)
- Type or paste text, or click Choose a file to hash a file.
- All five hashes appear instantly. Click Copy next to the one you need.
- To verify a download, paste the checksum published by the vendor into Verify. A green match means the file is unchanged.
Frequently asked questions
Is MD5 still safe to use?
Not for security. MD5 and SHA-1 have practical collision attacks, so do not use them for signatures or certificates. They are still fine for non-security checksums and cache keys. Use SHA-256 or stronger for anything security-related.
Can I hash passwords with SHA-256?
You should not store passwords with a plain fast hash. Use a slow, salted password-hashing algorithm such as Argon2id, scrypt or bcrypt.
Can a hash be reversed to get the original text?
No. Hash functions are one-way. Short or common inputs can still be found by guessing and comparing, which is why secrets need salts and slow algorithms.
Why does my hash differ from another tool?
Usually the input differs slightly: a trailing newline, a different text encoding, or Windows line endings (CRLF) versus Unix (LF). This tool hashes exactly the characters in the box, encoded as UTF-8.