Hash Generator MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes — computed locally as you type.

MD5 Hash Generator

Generate a 128-bit MD5 hash from any text — instant, free, and computed locally in your browser.

All hashing happens locally in your browser — your text is never uploaded to any server.

What is MD5?

MD5 (Message-Digest Algorithm 5) is a hash function designed by Ronald Rivest in 1991. It turns any input into a 128-bit digest, written as 32 hexadecimal characters. The same text always yields the same MD5 hash, while changing a single character produces a completely different one.

Example: the MD5 hash of hello is 5d41402abc4b2a76b9719d911017c592 — the tool above is pre-filled so you can see it live.

Is MD5 secure?

No — MD5 is cryptographically broken. Practical collision attacks let anyone craft two different inputs with the same MD5 hash in seconds, and the Flame malware famously exploited an MD5 collision in a Microsoft certificate. Never use MD5 for passwords, digital signatures or certificates. It is still acceptable as a checksum against accidental corruption, where no attacker is involved.

Common uses of MD5

For anything security-sensitive, use SHA-256 instead — and for passwords, a dedicated key-derivation function such as bcrypt, scrypt or Argon2.

Other hash generators

Need a different digest? Pick another algorithm — each has its own page:

Or go back to the Hash Generator homepage to see all five hashes at once.

Why does my hash not match another tool?

Hashes are computed over bytes, not characters, so two inputs that look identical can still produce different digests. The three usual causes:

Digest sizes at a glance

Every algorithm has a fixed output length, so a quick character count tells you whether a pasted hash is complete or truncated:

AlgorithmBitsHex characters
MD512832
SHA-116040
SHA-25625664
SHA-38438496
SHA-512512128

Letter case is only display formatting: toggling Uppercase hex does not change the underlying value, and two digests that differ only by case are the same hash.

Frequently asked questions

Is MD5 broken?

Yes. Collisions — two different inputs with the same MD5 hash — can be generated in seconds on an ordinary laptop, and chosen-prefix collisions have been used in real attacks. MD5 must not be used for signatures, certificates or password storage; it is fine only for detecting accidental corruption.

How many characters is an MD5 hash?

An MD5 hash is always 32 hexadecimal characters long, representing 128 bits — no matter whether the input is one letter or a whole book.

Can I hash passwords with MD5?

No. MD5 is fast and unsalted, so leaked MD5 password hashes fall instantly to rainbow tables and brute force. Use a slow, salted password KDF such as Argon2, bcrypt or scrypt instead.