Hash generator

Make MD5 and SHA hashes, and compare them

Runs in your browser. Nothing is uploaded.

How it works

A hash is a fixed-length fingerprint of some data. The same text always gives the same hash, and a tiny change gives a completely different one. Hashes can’t be reversed. MD5 and SHA-1 are broken for security, but still work as checksums. Use SHA-256 or stronger. Everything here runs in your browser.

hash = a fixed-length fingerprint of your text. It can’t be reversed.

Text is turned into UTF-8 bytes first, so the result matches other tools. SHA hashes use your browser’s built-in cryptography.

To check a download, paste its published hash under Compare.

Worked example. The SHA-256 of “abc” always starts with ba7816bf. Change one letter and the whole hash changes.

Advertisement

Examples

AlgorithmLengthUse
MD532 charactersChecksums only
SHA-140 charactersOld systems only
SHA-25664 charactersGeneral use
SHA-512128 charactersGeneral use

What this tool doesn’t cover

  • This handles text. Hashing files isn’t available yet.
  • Don’t store passwords with these. Use a password hash such as Argon2 or bcrypt.

Questions

Can a hash be reversed?

No. But common inputs can be looked up, which is why short passwords aren’t safe.

Why is MD5 marked Not for security?

Attackers can make two inputs with the same MD5, so it can’t prove anything. It’s fine as a simple checksum.

Is my text uploaded?

No. Everything runs in your browser, and nothing is saved or sent.

What is a hash?

A fixed-length fingerprint of data. The same input always gives the same result, and a tiny change gives a very different one.

What is the difference between SHA-256 and MD5?

SHA-256 gives a longer hash and is still safe for checking data. MD5 is older, and people can now create clashes on purpose.

Advertisement

Was this useful?

Built by QuickToolz.

Sources: RFC 1321: MD5 (opens in a new tab), NIST FIPS 180-4: Secure Hash Standard (opens in a new tab)

Submit ProductLoginAccountBlogAdvertise