Hash Generator
MD5, SHA-1, SHA-256 and SHA-512 for comparing values and verifying downloads.
About this tool
Hashes each line with the algorithm you choose. Useful for verifying a download against a published checksum, or checking whether two values are identical without comparing them character by character.
MD5 and SHA-1 are here because real work involves checksums published years ago, not because they are fine. Both are broken: a determined attacker can produce two different files with the same hash. For verifying a file against a checksum from a source you trust, they still do the job.
Common questions
Can I use this to hash a password?
No. Storing passwords needs a slow algorithm built for it — bcrypt or Argon2 — with a per-password salt. A plain SHA-256 of a password can be reversed from a lookup table in seconds. Do not paste real passwords here.
Is MD5 broken?
For security, yes — two different files can be made to share an MD5 hash, and it has been demonstrated many times. For checking that a download matches a checksum from a source you trust, it still works.
Which should I use?
SHA-256 unless something else requires otherwise. It is fast, widely supported and has no practical attacks. Choose MD5 or SHA-1 only when matching a checksum that already exists in that form.
Can a hash be reversed?
Not by computing backwards. But short or common inputs are found instantly by looking them up in a precomputed table, so a hash of "password" or an email address is not private.