What is an MD5 hash?
MD5 turns any piece of text into a fixed 32-character hexadecimal fingerprint. The same input always produces the exact same hash, and changing even a single character anywhere in the input produces a completely different-looking result - which is the property that makes MD5 hashes useful for verifying that a file or message hasn't been altered since the hash was generated. Everything here runs in your browser; the text you type is never sent to a server.
Why the hash is always exactly 32 characters
MD5 always produces a 128-bit output, displayed as 32 hexadecimal characters, regardless of whether the input text is one character or one million characters long. This fixed output length is a defining feature of cryptographic hash functions generally - the hash is a compressed fingerprint of the input, not a reversible encoding of it.
Why MD5 is fine for some uses and wrong for others
For checking that a downloaded file matches what the publisher intended (a basic integrity check) or generating a quick, non-security-critical checksum, MD5's speed and wide compatibility make it a perfectly reasonable choice. For anything security-sensitive - storing passwords, verifying data where someone might deliberately try to forge a matching hash - MD5's known weaknesses make it genuinely unsuitable, which is why modern systems use purpose-built algorithms instead.
Why MD5 can't simply be reversed
MD5 is a one-way function by design - there's no mathematical operation that reconstructs the original text from its hash alone. That said, short or predictable inputs (like simple, common passwords) can sometimes be recovered using precomputed lookup tables, often called rainbow tables, that map common inputs to their known MD5 hashes in advance - which is exactly why MD5 is considered unsuitable for storing anything sensitive, even though it can't be "decrypted" in the traditional sense.
Create an MD5 hash
Enter text and get its 32-character MD5 hash, used to compare files and detect changes.
Security note
MD5 is not secure for passwords or signatures because it can be broken quickly. Use bcrypt, Argon2 or SHA-256 for security.
Good uses
Checksums for non-critical file integrity and cache keys.
What MD5 does
MD5 turns any text into a fixed 32-character hexadecimal fingerprint called a hash. The same input always gives the same output, and even a one-letter change creates a completely different hash. It is one-way, so the original text cannot be directly read from the hash.
Good and bad uses
MD5 is still used to check that a file or download was not corrupted, to create quick cache keys and to match records. It is not safe for storing passwords or for security signatures, because modern computers can find collisions and crack common hashes very fast. For passwords use bcrypt, scrypt or Argon2.
Practical tips
Hash exactly the text you mean, because a trailing space or different line ending changes the result. Compare hashes in lowercase to avoid false mismatches. When you need stronger integrity checks, use SHA-256 instead of MD5.
Example
The MD5 of the word hello is 5d41402abc4b2a76b9719d911017c592. Changing one letter produces a completely different hash.
Security warning
Do not use MD5 alone to store passwords. Use bcrypt, scrypt or Argon2, which are designed to be slow and include a salt. MD5 is fine for quick file checks.