MD5 Hash Generator Online
Generate MD5 hashes from text. Useful for checksums and legacy system compatibility.
Open Hash Generator →What is MD5?
MD5 (Message-Digest Algorithm 5) produces a 128-bit (16-byte) hash, displayed as 32 hex characters. Designed by Ronald Rivest in 1991, MD5 was widely used for data integrity. However, MD5 is cryptographically broken — collision attacks can generate two different inputs with the same hash in seconds. Do NOT use MD5 for security purposes (passwords, signatures, certificate validation). It remains acceptable for non-security checksums like verifying file downloads or cache invalidation keys.
MD5 — When It's OK and When It's Not
- OK: File checksums for corruption detection (not tampering), cache keys, data deduplication, hash-based partitioning, ETags.
- NOT OK: Password hashing, digital signatures, certificate validation, any security-critical application.
- Alternatives: Use SHA-256 for security. Use xxHash or FNV for non-cryptographic speed. Use bcrypt/Argon2 for passwords.
// Node.js
const crypto = require('crypto');
crypto.createHash('md5').update('Hello').digest('hex');
// "8b1a9953c4611296a827abf8c47804d7"
// Python
import hashlib
hashlib.md5(b'Hello').hexdigest()
// CLI
echo -n "Hello" | md5sum
// PHP
md5('Hello');