MD5 Hash Calculator

Online MD5 hash calculator supporting text and file hashing, with 16/32-bit upper/lowercase output.

File Hash

File MD5 hash is a 128-bit fingerprint computed from the binary content of a file. A single byte change produces a completely different hash (avalanche effect), so it is commonly used for:

  • Integrity check: compare hash values after download to confirm the file was not tampered with or corrupted in transit
  • Duplicate file detection: files with identical content have identical hashes and can be deduplicated
  • Version consistency: compare two file hashes to quickly determine whether the contents are identical
  • Simple digital fingerprint: generate a unique identifier for a file for easy indexing and retrieval

Note: MD5 is no longer collision-resistant and is not suitable for security signatures or tamper protection. Use SHA-256 or stronger for security-sensitive scenarios.

Click or drag files here to upload

All file types · Max 100MB

Usage

About MD5

MD5 (Message-Digest Algorithm 5) is a widely used cryptographic hash function that produces a 128-bit (16-byte) hash value for input of any length, commonly used to ensure information transmission integrity. MD5 is a one-way hash algorithm; the original content cannot be recovered from the hash value.

Text Hash

1. Enter text in the input box; 2. Click "Calculate Hash"; 3. The result area shows four formats: 32-bit upper/lowercase and 16-bit upper/lowercase; 4. Click "Copy" next to the desired format to copy the result.

File Hash

1. Click the upload area in the file hash section or drag a file into it; 2. The tool automatically reads the file's binary content and computes the MD5; 3. Large files may take some time, please be patient; 4. Once complete, copy the hash value for integrity verification. Files are never uploaded; everything runs locally in the browser.

16-bit vs 32-bit

32-bit MD5 is the hexadecimal representation of the full 128-bit hash. 16-bit MD5 is the middle 16 characters of the 32-bit hash (positions 9 to 24), commonly used in legacy short-length scenarios with a higher collision probability.

Notes

MD5 has been proven vulnerable to collision attacks (two different inputs can be constructed to produce the same hash). It is not recommended for password storage, digital signatures, or other security-sensitive scenarios; use SHA-256 or stronger for security purposes. This tool does not provide any "decryption" feature; so-called online MD5 decryption is based on rainbow table collisions and only works for simple weak passwords.