Free developer tool

Free Hash Identifier

A hash identifier tells you which algorithm most likely produced a hash, such as MD5, SHA-256 or bcrypt, from its length, characters and prefix. Paste a hash to see ranked matches with hashcat modes and John the Ripper formats, and confirm the guess with a known password, without uploading anything.

Length
32 chars
Characters
hex, lowercase
Size
128 bits

Confirm with a known password

If you know the original text, hash it here to confirm the algorithm. Works for MD5, SHA-1, SHA-256, SHA-384, SHA-512 and bcrypt. Every sample is a hash of password.

Most likely: MD5

32 hex characters, a 128-bit digest.

Crack-test it: hashcat -m 0 hash.txt wordlist.txt

john --format=raw-md5 hash.txt

Possible algorithms, most likely first
Algorithmhashcat -mJohn format
MD5By far the most common 32-character hash.0raw-md5
NTLMWindows password hash. Same length as MD5; test a known password to tell them apart.1000nt
MD4900raw-md4
LMLegacy Windows hash, usually uppercase and split into two 16-character halves.3000lm
RIPEMD-128——
MD2——

Hash types by length

Looks likeCommon algorithms
32 hexMD5, NTLM, MD4, LM
40 hexSHA-1, RIPEMD-160, MySQL 4.1+
64 hexSHA-256, SHA3-256, Keccak-256
128 hexSHA-512, SHA3-512, Whirlpool, BLAKE2b
$2b$… (60)bcrypt
$6$…SHA-512 crypt (Linux)

How to identify a hash type

  1. 1. Paste the hash

    Copy the whole hash, including any $ prefix, salt or trailing = signs.

  2. 2. Read the ranking

    See the most likely algorithm first, with its bit length, hashcat mode and John the Ripper format.

  3. 3. Confirm it

    If you know the original text, enter it to check MD5, SHA-1, SHA-2 or bcrypt directly.

  4. 4. Use the result

    Pick the matching library to verify passwords, or the hashcat mode for an authorized password audit.

Hash identifier FAQ

What is a hash identifier?

A hash identifier looks at a hash string and lists the algorithms that could have produced it. It uses the length, the character set and any prefix such as $2b$ or $6$. Raw digests of the same length cannot be told apart from the text alone, so the result is a ranked list.

How do I know if a hash is MD5 or NTLM?

Both are 32 hex characters, so the string alone cannot settle it. Consider the source: a Windows SAM or NTDS dump means NTLM; a web app database usually means MD5. If you know one password, hash it with each algorithm and compare. This page does that for MD5.

What hash starts with $2b$, $6$ or $argon2id$?

$2a$, $2b$ and $2y$ are bcrypt. $1$ is MD5 crypt, $5$ is SHA-256 crypt, $6$ is SHA-512 crypt and $y$ is yescrypt, all common in Linux /etc/shadow. $argon2id$ is Argon2, and $P$ is the phpass format used by WordPress.

Can a hash be reversed or decrypted?

No. A hash is one-way, so it cannot be decrypted. Weak passwords can still be found by hashing guesses and comparing, which is what hashcat and John the Ripper do. Slow, salted algorithms such as bcrypt and Argon2 make that far harder than MD5 or SHA-1.

Is my hash uploaded?

No. Identification and the confirm check run in this page. Tornic does not upload or store the hashes or text you enter.

Automate the tedious parts of coding

Tornic turns repeatable tasks into deterministic workflows for the AI coding CLIs you already use.

Explore Tornic

Related free tools