Length and prefix, nothing else
Paste one hash per line and the page re-reads the box on every keystroke and once on load. Each non-empty line is trimmed and tested against fixed patterns: bcrypt, four crypt formats, three Argon2 variants, Django PBKDF2, and raw hexadecimal at seven lengths. A line that matches nothing is labelled "Unrecognized format".
A worked example
The default box holds three values, all recognised. The 32-character 5d41402abc4b2a76b9719d911017c592 is the MD5 of "hello" and is labelled "MD5 or NTLM (same length โ context decides)". The 40-character da39a3ee5e6b4b0d3255bfef95601890afd80709 is the SHA-1 of an empty string and is labelled "SHA-1 (or MySQL PASSWORD())". The third line, 60 characters beginning with the bcrypt prefix, is labelled bcrypt.
The patterns it knows
bcrypt is a 2a, 2b or 2y version, a two-digit cost, then 53 characters of salt and digest. The crypt formats are 1, 5, 6 and y, each with one salt field and an alphabet-only digest. Argon2 is any argon2i, argon2d or argon2id prefix, and Django PBKDF2 needs an iteration count, a salt and a base64 digest. Hexadecimal is read at 16, 32, 40, 56, 64, 96 and 128 characters, mapped to MySQL old password, MD5 or NTLM, SHA-1, SHA-224, SHA-256 or SHA3-256, SHA-384 and SHA-512.
Two things that surprise people
A crypt hash carrying parameters, such as the SHA-512 form with a rounds value, is rejected because the pattern allows only one field after the prefix. Lengths outside the list produce no guess either, so an eight-character CRC-32 reads as unrecognised.
Where it stops
- Shape only: no verification, no cracking and no network request.
- MD5 and NTLM, and SHA-256 and SHA3-256, cannot be separated by length.
- No CRC-32, BLAKE2, SHA-512/256 or Unix DES crypt.
Questions people ask
Can it recover the password behind a hash?
No, and nothing can without guessing. To produce a digest from text you know, use the hash generator; to check a download against a published value, use the file checksum verifier.
Why does one value show two possible algorithms?
Several algorithms share a digest length, so context decides: a 32-character value from a Windows security log is more likely NTLM than MD5. For keyed digests, the HMAC generator names the algorithm it used.