Hash Identifier
// Identify hash algorithms from any hash string instantly
// paste a hash to identify its type...
ANALYSIS:
15+ Hash Types
Identify MD5, SHA-1, SHA-256, SHA-512, bcrypt, CRC32, NTLM, MySQL hashes, and more from any input string.
Auto-Identification
Hash type is detected automatically as you type or paste. No button clicks needed — results appear instantly.
Detailed Info
View algorithm name, bit length, example hash, and common use cases for each identified hash type.
// ABOUT HASH IDENTIFICATION
How Hash Identification Works:
Hash identification works by analyzing the length, character set, and format patterns of the input string. Hexadecimal hashes are matched by their fixed lengths (e.g., 32 chars for MD5, 64 for SHA-256). Special formats like bcrypt ($2a$) and crypt hashes ($6$) are detected by their unique prefixes.
Example:
d41d8cd98f00b204e9800998ecf8427e → MD5 (32 hex chars, 128 bits)
Common Hash Lengths:
- >8 hex chars (32 bits): CRC32
- >32 hex chars (128 bits): MD5, NTLM
- >40 hex chars (160 bits): SHA-1, MySQL 5.x
- >64 hex chars (256 bits): SHA-256
- >128 hex chars (512 bits): SHA-512
>> frequently asked questions
Q: How do I identify the type of a hash?
A: The most reliable way is to check the hash length and character set. For example, a 32-character hexadecimal string is likely MD5, while a 64-character hex string is likely SHA-256. Special prefixes like $2a$ indicate bcrypt, and $6$ indicates SHA-512/Crypt.
Q: What are the most common hash lengths?
A: Common hash lengths are: CRC32 = 8 hex chars, MD5 = 32 hex chars, SHA-1 = 40 hex chars, SHA-256 = 64 hex chars, SHA-384 = 96 hex chars, and SHA-512 = 128 hex chars. bcrypt hashes are always 60 characters starting with $2a$, $2b$, or $2y$.
Q: What does a bcrypt hash look like?
A: A bcrypt hash starts with $2a$, $2b$, or $2y$ followed by a two-digit cost factor, a $ separator, and 53 characters of Base64-encoded salt and hash. For example: $2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy
Q: What is the difference between hashing and encryption?
A: Hashing is a one-way function that produces a fixed-size output from any input — it cannot be reversed. Encryption is a two-way function that transforms data using a key, and the original data can be recovered with the correct key. Hashes are used for verification; encryption is used for confidentiality.
Q: What are salted hashes?
A: A salted hash adds random data (the salt) to the input before hashing. This ensures that identical passwords produce different hashes, preventing rainbow table attacks. bcrypt, scrypt, and Argon2 include built-in salting. The salt is typically stored alongside the hash.
// OTHER LANGUAGES
References
How we make sure
We check this tool with the automated test suites linked below. Example checks are shown in their original language.
- Verification method
- Feed digests with shared length/alphabet patterns and ensure candidates such as MD5 and NTLM remain alternatives.
- Comparison reference
- Explicit expected candidate-set assertions.
- Verification scope
- Appearance cannot uniquely identify a hash algorithm or its source.
Test source and cases (select a file to read it)
-
legacy-reliability.test.js
- Hash identifier: ambiguous MD5 and NTLM candidates remain alternatives, not a claimed identification
These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.