Free online file & data tools

MD5 Hash Generator

Convert text to an MD5 hash as you type. Hash a whole list one line at a time, check a hash against a reference, or get the MD5 of a file.

Type text. Get its MD5.

Live MD5 · One hash per line · HMAC and files · Nothing uploaded

Hashed as UTF-8, exactly as typed. No trimming, no added newline.

MD5 of an empty string

Options

Updates as you type. Nothing is uploaded.

Need the MD5 of a file?

Drop a file here or choose one. It is read in chunks on your device, never uploaded.

How to use the MD5 generator

  1. Type or paste your text. The 32-character MD5 hash appears below and changes with every keystroke.
  2. For a list of emails, IDs or words, turn on Hash each line separately. You get one MD5 per line, in the same order, and can download a CSV of each value with its hash.
  3. To check a value, paste the expected hash into the compare box. Capital letters and surrounding spaces are ignored.

What an MD5 hash is

MD5 (Message-Digest Algorithm 5) turns any amount of data into a fixed 128-bit value, written as 32 hexadecimal characters. Ron Rivest designed it in 1991 and it was published as RFC 1321 in 1992. The same input always gives the same hash, and changing a single character changes the whole result:

MD5 hashes of similar inputs
InputMD5 hash
(empty)d41d8cd98f00b204e9800998ecf8427e
abc900150983cd24fb0d6963f7d28e17f72
a0cc175b9c0f1b6a831c399e269772661
b92eb5ffee6ae2fec3ad71c777531578f

Where MD5 is still used

MD5 is broken as a security tool but remains everywhere as a fingerprint. Many download pages and older Linux mirrors publish MD5 checksums. Databases and caches use it to turn long keys into short ones. Backup and sync tools use it to spot changed or duplicate files, and some older APIs still sign requests with an MD5 of the parameters. Email marketing platforms often accept or export MD5-hashed email addresses. In all of these, the job is to detect change or match a value, not to stop an attacker.

When not to use MD5

Do not use MD5 to store passwords: it is designed to be fast, so a graphics card can try billions of guesses a second. Use a password hashing scheme such as Argon2, bcrypt or scrypt instead. Do not rely on MD5 to prove a file has not been tampered with, because two different files can be crafted with the same MD5. In 2012 the Flame malware used an MD5 collision to forge a code-signing certificate. For new checksums, use the SHA-256 generator.

Getting the same hash as your code

Most mismatches come from invisible characters. A line copied from a terminal or text file often ends with a newline, and Windows files use CRLF line endings. Hashes are calculated over bytes, so text must also be encoded the same way. This page always uses UTF-8, which is what PHP’s md5(), Python’s hashlib.md5(text.encode()) and Node’s crypto.createHash('md5') use for normal strings. For a byte-exact check of a saved file, drop the file instead of pasting its contents. For SHA-1, SHA-512 or CRC32, or to hash a batch of files, use the checksum calculator.

Frequently asked questions

How do I generate an MD5 hash?

Type or paste text into the box. The MD5 hash appears straight away as 32 hexadecimal characters and updates as you type. Copy it, or turn on “Hash each line separately” to get one MD5 per line for a whole list.

What is the MD5 hash of an empty string?

d41d8cd98f00b204e9800998ecf8427e. Every MD5 tool should return this for empty input. The well-known test value for “abc” is 900150983cd24fb0d6963f7d28e17f72.

Why is my MD5 different from another tool?

The bytes were different. A trailing newline, a space, a different line ending (Windows CRLF instead of LF) or a different text encoding all change the hash completely. This tool hashes exactly what is in the box as UTF-8, without adding a newline. The command echo "text" | md5sum adds one; use echo -n to match.

Can an MD5 hash be decrypted or reversed?

No. A hash is not encryption, so there is no key that turns it back into the text. Websites that “decrypt” MD5 look the hash up in huge tables of hashes of common words and passwords. That is why an MD5 of a short or common value is not secret.

Is MD5 secure?

Not for security. Researchers have been able to create two different inputs with the same MD5 hash (a collision) since 2004, and it is far too fast to store passwords. It is still fine for non-security jobs such as matching a published checksum, cache keys or spotting duplicate files. Use SHA-256 for anything new.

Is my text uploaded?

No. The hash is calculated in your browser with WebAssembly. Your text, key and files are not sent to SuperUtils or stored.