Skip to content
DoItJag

MD5 Generator

Get the MD5 hash of some text or a file and check it against a published checksum. MD5 is fine for spotting a broken download, but it is not secure, so use SHA-256 when tampering matters.

MD5 is not secure. Use it only to compare with a checksum someone published as MD5 or for older systems that require it. Do not use it to store passwords or to prove a file has not been tampered with; use SHA-256 in the Hash Generator for that.

About MD5 Generator

MD5 turns any input, a short word or a 4 GB disk image, into a fixed 128-bit fingerprint written as 32 hexadecimal characters. Alter even one byte of the input and you get an unrelated value. That makes it handy for one job that still matters: confirming that a file you downloaded is the same file the publisher made, when the publisher only lists an MD5 value.

Why the warning

MD5 was designed in 1992 (RFC 1321). Since 2004 researchers have been able to build two different inputs with the same MD5, and today that takes seconds on a laptop. RFC 6151 therefore says MD5 is no longer acceptable where collision resistance is required, such as digital signatures or proving that nobody altered a file on purpose. It is also far too fast for password storage. For anything security related, use SHA-256 in the Hash Generator.

When it is still useful

  • A Linux mirror, an old firmware page or a backup tool lists only an MD5 checksum and you want to rule out a corrupted download.
  • A legacy API or database column expects an MD5 of a string, for example a cache key or an ETag.

Worked example

Choose Text and type abc with no line break. The result is 900150983cd24fb0d6963f7d28e17f72, the value printed in the test suite at the end of RFC 1321. Press Enter after abc and the checksum becomes something else entirely, because the line break is part of the input.

For a file, pick it and wait for the progress bar. The file is read in 4 MB pieces, so even very large files do not fill your memory. Then paste the published checksum into the compare box. A whole md5sum line works too; letter case is ignored.

Limits

Files up to 4 GB. Text is hashed as UTF-8, so text saved in another encoding by a different program may give a different result. Nothing leaves your device.

How to use MD5 Generator

  1. Choose Text or File, then type the text or pick the file.
  2. Read the 32-character MD5 checksum and copy it.
  3. Optionally paste the expected checksum (or a whole md5sum line) to see if they match.

Privacy: how it works

Your text or file is hashed on your own device by your browser. Nothing is uploaded, stored or logged.

Frequently asked questions

Is MD5 safe to use?

Not for security. People can deliberately make two different files with the same MD5, and RFC 6151 says it should not be used where collision resistance matters. It is still fine to catch an accidental corruption when a site only publishes MD5.

Why does my text give a different MD5 than another tool?

The checksum covers every byte. A trailing space or line break, a different line ending (Windows vs Linux) or a different text encoding changes it. This page hashes exactly what is in the box as UTF-8.

Can MD5 be decrypted?

No. A hash cannot be turned back into the input. Sites that claim to "decrypt" MD5 only look up common words in a list of precomputed hashes.