Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text or a file, instantly and privately in your browser.
Hashing is one way: you cannot turn a hash back into the original text. It is not encryption. Use it to verify downloads, compare files or create checksums, not to hide secrets.
What a hash is
A hash function turns any input into a fixed length fingerprint. The same input always produces the same hash, a tiny change produces a completely different one, and you cannot work backwards from the hash to the input. That makes hashes useful for checking that a downloaded file is intact, for comparing data without storing it, and for storing passwords safely when combined with a salt and a slow algorithm.
Which algorithm to use
- SHA-256: the sensible default for checksums, integrity checks and signatures.
- SHA-512: longer output, slightly faster on 64-bit systems, used where longer digests are required.
- SHA-1 and MD5: fast but broken for security. Fine for detecting accidental corruption, never for anything an attacker could tamper with.
Hashing versus encryption
Encryption is reversible with a key. Hashing is one way. If you need to get the original data back, you need encryption, not a hash. For passwords, do not use plain SHA-256 either; use a dedicated slow algorithm such as bcrypt or Argon2 in your application code. The file option computes SHA-256 without uploading the file, so you can verify installers and backups of any size on your own machine. Test your own passwords safely with the password strength checker.
Frequently asked questions
Is my text or file uploaded?
Why does the same text give a different hash than another tool?
Can I reverse a hash to get the original?
How do I verify a downloaded file?
We build the sites and systems these tools measure.
Digzy Technology designs fast, search-friendly websites, stores and apps. Tell us what you have in mind.