Skip to content
PickZeal
    Text and code tools

    Text to MD5 Hash Generator

    Convert text to an MD5 hash as you type. Hash a whole list at once, add a salt, or check text against an existing hash. Free, nothing is uploaded.

    • Runs in your browser
    • Nothing is uploaded
    • Free, no sign-up
    Mode

    MD5 turns any text into a fixed 32-character fingerprint called a hash. The same text always gives the same hash, and changing a single letter gives a completely different one. This text to MD5 converter hashes as you type, handles any language and emoji through UTF-8, hashes whole lists at once, adds a salt when you need one, and checks text against a hash you already have.

    How to convert text to MD5

    1. Type or paste your text into the Text box. The MD5 hash appears as you type.
    2. To hash a list, choose One hash per line and paste one item per line.
    3. Add a salt if your system expects one, and choose whether it goes before or after the text.
    4. Click Copy result. To verify a hash, paste it into Compare with a hash.

    MD5 hash of an empty string and other examples

    Use these known values to check that a program or script calculates MD5 correctly. The MD5 hash of an empty string is the one to remember: if it shows up unexpectedly, something hashed nothing.

    TextMD5 hash
    (empty string)d41d8cd98f00b204e9800998ecf8427e
    hello5d41402abc4b2a76b9719d911017c592
    hello followed by a line breakb1946ac92492d2347c6235b4d2611184
    password5f4dcc3b5aa765d61d8327deb882cf99
    The quick brown fox jumps over the lazy dog9e107d9d372bb6826bd81d3542a419d6

    The values follow the algorithm in RFC 1321. Note how one hidden line break changes the whole hash of "hello".

    Why an MD5 hash is 32 characters

    MD5 always outputs 128 bits. That is 16 bytes, and written in hexadecimal, where each byte takes two characters, it becomes 32 characters. A one-letter word and a whole book both give an MD5 hash of exactly the same length. Uppercase and lowercase hex mean the same value, so 5D41402A... and 5d41402a... are the same hash. Lowercase is the most common way to write it.

    Is MD5 reversible? Why MD5 to text converters don't decrypt

    A hash throws information away: endless possible inputs map to the same 32 characters, so the original text cannot be calculated back from the hash. Sites that offer an MD5 to text converter or "MD5 decrypt" keep huge lists of words and leaked passwords with their hashes and look yours up. If the text was a common password such as "password", the lookup finds it at once. If it was anything long or unique, no tool can recover it. This is also why storing passwords as plain MD5 is unsafe.

    MD5 hash generator with salt

    A salt is extra text added to the input before hashing, so that the same password gives a different hash on each system and lookup lists stop working. Some older systems store passwords as md5(password + salt) or md5(salt + password), and you need to match that order exactly to get the same hash. Use the salt field and position menu above to reproduce it. For new systems, use a password hash such as bcrypt or Argon2, which handles the salt for you and is built to be slow to crack.

    MD5 vs SHA-256: is MD5 secure?

    MD5 is fast and still useful, but it is broken for security. Practical collisions, two different inputs with the same hash, were published in 2004, and RFC 6151 advises against MD5 where collision resistance matters, such as digital signatures. Choose by job:

    HashLengthGood for
    MD532 hex characters (128 bits)Checksums, cache keys, finding duplicates
    SHA-140 hex characters (160 bits)Older systems and Git; avoid for new security uses
    SHA-25664 hex characters (256 bits)Signatures, downloads, hashed emails, tamper checks
    bcrypt or Argon2Varies, includes a saltStoring passwords

    Convert text to MD5 in Excel or Google Sheets

    Neither Excel nor Google Sheets has a built-in MD5 function. The quickest way to hash a column is to copy it, paste it here in One hash per line mode, copy the results and paste them into the next column. Rows keep their order, and blank cells stay blank. If the hashes must update automatically when the cells change, you need a VBA macro in Excel or an Apps Script function in Google Sheets.

    MD5 hash of an email address

    Hashed email addresses are used to match customer lists with ad platforms and email tools without sharing the addresses themselves. Before hashing, remove spaces at the start and end and convert the address to lowercase, because John@Example.com and john@example.com give different hashes. Paste a whole list in bulk mode to hash every address at once. Check what the platform asks for, as many now require SHA-256 instead of MD5.

    MD5 on the command line

    To check a hash from this tool in a terminal, make sure the command does not add a line break. On Linux, echo adds one unless you use -n. Windows tools hash files rather than typed text:

    SystemCommand
    Linuxecho -n "hello" | md5sum
    macOSmd5 -s "hello"
    Windows (file)certutil -hashfile file.txt MD5
    PowerShell (file)Get-FileHash file.txt -Algorithm MD5

    Need reversible encoding rather than a hash? Use the Base64 Encode and Decode tool, or see the bytes of your text with the Text to Hex Converter.

    Your text stays private

    The hash is calculated in your browser, so your text, lists and salts are never uploaded, stored or logged. See all free in-browser tools.

    Frequently asked questions

    How do I convert text to MD5?

    Type or paste your text into the box and the MD5 hash appears as you type. The text is turned into UTF-8 bytes and run through the MD5 algorithm, which always gives 32 hex characters. For example, "hello" becomes 5d41402abc4b2a76b9719d911017c592. Click Copy result to use it.

    What is the MD5 hash of an empty string?

    The MD5 hash of an empty string is d41d8cd98f00b204e9800998ecf8427e. An empty file has the same hash. If you see this value where you expected a real hash, the text or file you hashed was empty, often because a variable was not set.

    Can MD5 be decrypted back to text?

    No. MD5 is a one-way hash, not encryption, so there is no key and no way to reverse it. Sites that offer "MD5 to text" or "MD5 decrypt" only look the hash up in a list of hashes of common words and leaked passwords. That works for short, common inputs and fails for anything unique.

    Why is an MD5 hash 32 characters long?

    MD5 always produces 128 bits, which is 16 bytes. Each byte is written as two hex digits, so the hash is 32 characters, whatever the length of the input. A 32-character value using only 0-9 and a-f is usually MD5, although NTLM hashes look the same.

    Why does my MD5 hash not match the command line?

    The input is almost never exactly the same. The usual cause is a hidden line break: echo "hello" | md5sum hashes "hello" plus a new line, giving b1946ac92492d2347c6235b4d2611184 instead of 5d41402abc4b2a76b9719d911017c592. Use echo -n. Extra spaces, different capital letters, a salt or a different text encoding also change the hash.

    Is MD5 secure?

    Not for security. Researchers can create two different inputs with the same MD5 hash, and common passwords hashed with MD5 can be found in seconds. Use SHA-256 for signatures and integrity checks against tampering, and bcrypt or Argon2 for passwords. MD5 is still fine for spotting accidental file corruption, cache keys and finding duplicates.

    How do I MD5 hash multiple strings at once?

    Choose "One hash per line" and paste your list, one item per line. Each line gets its own MD5 hash on the matching line of the result, and blank lines stay blank, so you can paste the results straight back next to your original list.

    How do I convert text to MD5 in Excel?

    Excel has no built-in MD5 function. Copy the column, paste it into this tool in "One hash per line" mode, then copy the hashes and paste them into the next column. The rows stay in the same order. For a formula that updates by itself you need a VBA macro or an add-in.

    Should I lowercase an email address before hashing it?

    Yes. Ad platforms and email list services that match hashed emails usually expect the address trimmed of spaces and in lowercase, because John@Example.com and john@example.com give completely different MD5 hashes. Check the platform's guide, since many now ask for SHA-256 instead of MD5.

    Is my text uploaded anywhere?

    No. The hash is calculated in your browser on your own device. Your text and salt are never sent to PickZeal or anyone else, so it is safe to hash email lists and other private data.

    More text and code tools

    View all tools