MD5 Hash Generator

MD5 hash generator for text and files: create an MD5 hash, a 32 character hash written in hexadecimal. Use this MD5 generator for checksums and cache keys, and see how MD5 vs SHA256 differs. It also explains why an MD5 password hash is not safe for storing passwords.

Hash a file

No file chosen

Drop a file here or browse. Hashing runs locally — the file is never uploaded.

Compare with another file

No file chosen

Drop a file here or browse. Hashing runs locally — the file is never uploaded.

Hashing a file replaces the text input. Type again to switch back.

Digests

Format
MD5 9d8a343d1c3f5cf2d50794e372073dde
SHA-1 6c9c6b840b4ca935eec84f5a9b1f178974e0e76e
SHA-256 5473c4a51e62a23a9b709a591ed66c2b9ad570944fe9839a2eb898c08d4569cc
SHA-384 3b78c2581859c50d7b89091b215cbf729ebd61f3aaa9efa31451f5e91faedeede42ce2d9f911f4a28af07654758ac47f
SHA-512 22a0c9eb089b24851a9613eed31512556bfc115854bfc4ec982827bd3475e878dca733a7312038b00bf0400c7d417ae56a162d1a5b3d6ac5c61d88aa05d56fda

An MD5 hash generator turns text or a file into 32 hexadecimal characters that act as a compact fingerprint and shows SHA-1, SHA-256, SHA-384 and SHA-512 on the same screen, with hashing done in your browser. The input stays on your device.

It is still the right tool for checking an old download against a published checksum, matching duplicate files in a migration, or producing a short cache key where security is not the goal. Paste the text or drop a file and the tool returns the same 32-character hash every time for the same bytes. The short length fits neatly inside a filename or a ticket comment, which is why so many checksum lists still use it.

How to use

  1. Provide input. Type or paste text, or drop a file up to 20 MB; loading a file replaces the text input, and typing switches back. Text is hashed as UTF-8 bytes, so a trailing newline changes the digest.
  2. Read the rows. Five digests appear after a 100 ms pause. The md5 hash generator row is highlighted on this page, and Upper case rewrites all five in capitals, which some checksum lists use.
  3. Copy or download. Every row has a Copy button, and Download all saves all-digests.txt with five labelled lines. Store the digest beside the file name; a 32 character hash alone cannot tell you which file it came from.

Checksums, length and legacy use

MD5 is fast and widely supported, and it is also broken for security purposes. These notes separate the two facts so the digest is used where it still helps.

What the md5 generator returns

MD5 produces 128 bits, written as 32 characters. The empty string hashes to d41d8cd98f00b204e9800998ecf8427e, and hello hashes to 5d41402abc4b2a76b9719d911017c592. The output length never changes, so a checksum list can be validated by counting characters before comparing anything. Upper case mode exists because some vendors publish digests in capitals. A 32 character hash is almost always MD5; 40 characters means SHA-1, and 64 means SHA-256.

Verifying an md5 hash from a download

A checksum verifies bytes, not intent: if the published md5 hash matches the file you downloaded, the transfer was intact. Files are read in full and capped at 20 MB, with the message File is too large for browser-side hashing (max 20 MB). For an installer larger than that, run md5sum file.iso on Linux or md5 file.iso on macOS and compare the same 32 characters. Record the file name beside the digest, because the most common support mistake is checking the right hash against the wrong file. A mismatch almost always means a different file, not a broken digest.

MD5 vs SHA256 for real decisions

MD5 is shorter and faster, but collisions are practical: two different files can be crafted to share a digest, which defeats integrity checks against an attacker. SHA-256 writes 64 characters and has no known practical collision. Use MD5 for duplicate detection and legacy checksum lists, use SHA-256 for signatures and anything security-related, and never build a password scheme on the md5 hash generator. Neither digest is encryption and neither can be decoded; Base64 is the reversible format they are usually confused with.

FAQ

Is an md5 password hash safe?

No. MD5 is fast, unsalted and collision-prone, so an attacker with the digest can test billions of guesses per second. A password needs a slow, salted algorithm such as Argon2, bcrypt or scrypt. The md5 hash generator is for checksums, not credentials.

Can an MD5 hash be reversed?

Not in the cryptographic sense. You cannot recover the input from the 32 characters, but a lookup table can match a common word to its digest. That is why a hashed password offers little protection even though the md5 hash generator cannot undo its own output.

Why is the MD5 hash always 32 characters?

MD5 outputs 128 bits, and each byte is written as two hex digits, giving 32 characters. The length never varies, which makes a malformed checksum obvious: 31 or 33 characters cannot be an MD5 digest, and 64 characters belong to SHA-256.

Is my file uploaded when hashing?

No. The md5 hash generator reads the file with the File API and computes the digest in JavaScript, because browsers do not expose MD5 through Web Crypto. Nothing is sent to a server, so private archives can be checked without leaving the device.

Why does a large file fail?

Files above 20 MB show “File is too large for browser-side hashing (max 20 MB).” The whole file must be in memory for this implementation. For ISO images and backups, skip the md5 hash generator and compute the checksum with md5sum or md5 on the command line, then compare the same 32 characters.

SHA256 Generator produces the 64-character digest that replaces MD5 for integrity checks and signatures, using the same text and file inputs. Base64 Encoder shows a reversible transformation, which is the clearest way to see why a digest cannot be decoded. Base64 to Text helps inspect the string form of a checksum before it is compared. Keep the md5 hash generator for duplicate detection and legacy checksum lists only. Each page runs locally, needs no account, and reports results instantly without storing the input anywhere.