MD5 Hash Generator
Generate MD5 (128-bit) hashes from text or files. Supports HMAC-MD5 and file checksum verification.
MD5 Hash
32 hex characters (128 bits)Enter text and click Generate to create a MD5 hash
File MD5 Hash
Drop a file here or click to select
Max 50 MB
Select or drag a file above to compute its MD5 checksum. Processing happens entirely in your browser when possible.
Other Hash Algorithms
What is MD5?
MD5 (Message-Digest Algorithm 5) is a widely-used cryptographic hash function that produces a 128-bit (16-byte) hash value, typically rendered as a 32-character hexadecimal string. Designed by Ronald Rivest in 1991 as a replacement for MD4, it was the dominant checksum algorithm for over a decade.
How MD5 Works
MD5 processes input in 512-bit blocks through four rounds of 16 operations each, using bitwise operations, modular addition, and nonlinear functions. The algorithm maintains a 128-bit state (four 32-bit words: A, B, C, D) that is updated with each block. After all blocks are processed, the final state is the hash output.
Output
32 hex characters (128 bits)
Year
1992
Status
⚠ Deprecated
Common Use Cases
- File integrity verification and checksums
- Non-security data deduplication
- Legacy system compatibility
- Cache key generation
- Database indexing and partitioning
Security Considerations
MD5 is cryptographically broken. Collision attacks can be performed in seconds on modern hardware. It should never be used for digital signatures, SSL certificates, or password hashing. For security-sensitive applications, use SHA-256 or SHA-3 instead. MD5 remains useful only for non-security checksums.
MD5 vs Other Algorithms
MD5 is significantly faster than SHA-256 but provides only 128 bits of output vs 256 bits. While SHA-256 has no known practical attacks, MD5 has been broken since 2004. For checksums where collision resistance isn't critical, MD5 is adequate. For anything security-related, SHA-256 or better is required.