MD5 Hash Generator

Generate an MD5 hash from text or a file instantly

Generate an MD5 hash from a string or file. This MD5 hash generator returns the classic 32-character hex digest (or Base64). Use it for legacy checksums, not for passwords. For SHA-256 and SHA-512, open the Hash Generator. HMAC is a separate keyed tool. Runs fully in your browser.

From the blog
How Java Debugging Works: Inside JPDA, JDWP, and JDI

How the JVM lets you set breakpoints, step through code, and attach a debugger to a running Java process, explained from the inside out

Read

Developer tools Latest posts Explainers

Algorithm: MD5

Drop a file here or to hash its bytes

Output

Need a keyed signature? Use the HMAC generator.

Your hash value will appear here

MD5 Hash Guide

How to generate an MD5 hash

Type your text or drop a file. The MD5 hash generator hashes UTF-8 text or raw file bytes and shows a 32-character hexadecimal string. That is the usual format in checksum files and docs. Switch to Base64 if an API stores MD5 that way.

MD5 length and the empty string

MD5 is always 128 bits. Hex is always 32 characters. The MD5 of an empty string is d41d8cd98f00b204e9800998ecf8427e. If you see that value, you hashed nothing (or an empty file).

Collisions and passwords

Researchers can produce different inputs with the same MD5. That makes MD5 unfit for signatures, certificates, and password storage. If you need to store secrets, use a password hash (Argon2, bcrypt, scrypt), not MD5 and not a plain SHA-256 either.

When MD5 still shows up

Some CDNs and caches still use MD5 in ETags. Older download pages still publish MD5 checksums. Match those systems if you must, then prefer SHA-256 for anything new. This page stays focused on MD5 so you can generate that digest without extra steps.

MD5 Hash Generator FAQ

How do I generate an MD5 hash?

Paste text or drop a file. Copy the 32-character hex digest. Empty input is d41d8cd98f00b204e9800998ecf8427e.

How long is an MD5 hash?

32 hexadecimal characters (128 bits). Base64 of the same bytes is 24 characters with padding.

Is MD5 secure?

No. Collisions are practical. Do not use MD5 for passwords or certificates. Fine only as a legacy checksum.

When should I still use MD5?

When a vendor, cache, or old protocol already requires it. For new integrity checks, use the Hash Generator with SHA-256.

Does this MD5 generator upload my data?

No. Hashing stays in the browser. Web Crypto has no MD5, so this page computes MD5 in JavaScript on your device.