b2KIT

Hash Identifier

Automatically detect and identify the type of a hash string (MD5, SHA-1, SHA-256, bcrypt, etc.) by analyzing its format.

Tested tool guide Tested browser tools Checked August 16, 2026

What Hash Identifier does, with a checked example

Hash Identifier classifies a pasted hash by examining visible characteristics such as length, character set, and recognizable prefixes. It can distinguish self-describing password-hash formats such as bcrypt from common hexadecimal digest shapes associated with MD5, SHA-1, and SHA-256. The result is a format identification, not proof of which program or algorithm produced the value. This matters most for bare hexadecimal strings, because unrelated hash algorithms can produce text with exactly the same length and alphabet.

Worked example

A concrete input and expected output from the current implementation.

Input

$2b$12$LQv3c1yqBWVHxkd0LHAkCOYz6TtxG6sE3YkZ/7vC3qYpYwJ5LhZ0K

Expected output

bcrypt

This is a 60-character bcrypt string. The $2b$ marker identifies the bcrypt variant, 12 is its cost field, and the remaining 53 characters contain the encoded salt and checksum.

How the result is produced

1

Format classification

The identifier evaluates properties that remain visible after hashing. These include the total number of characters, whether the value is hexadecimal or uses another encoding alphabet, and whether it begins with a structured marker such as bcrypt's $2b$ prefix. A recognizable marker provides stronger evidence than length alone because the format carries information about itself.

2

Untagged digest matching

Bare digests usually contain no algorithm name. For these values, identification depends on whether the text fits a familiar output shape. For example, an MD5 digest is commonly represented by 32 hexadecimal characters, while SHA-1 commonly uses 40. Those shapes are useful clues, but another algorithm or application-specific identifier can share the same representation.

Good uses

  • Inspect an unfamiliar credential export to see whether entries use a structured password-hash format such as bcrypt or an untagged hexadecimal digest.
  • Triage hashes found in logs, configuration files, or database columns before choosing a compatible verification or migration procedure.
  • Check whether a supplied checksum has the visible length and alphabet normally associated with MD5, SHA-1, or a SHA-2 digest.

Limits and checks

  • A 32-character hexadecimal value is not uniquely MD5. MD4, NTLM, and non-hash identifiers can have the same visible shape.
  • Identification does not recover the original message, confirm a password, or establish that the string was generated from meaningful input.
  • Truncated digests, custom salt-and-digest combinations, wrappers, or copied punctuation can produce a misleading match or prevent recognition.

Common questions

Can Hash Identifier tell me what text was hashed?

No. The tool examines the representation of the hash, not its unknown input. A digest does not contain a label for the original text, and identifying its likely family does not reverse it. Verifying a suspected value requires hashing that candidate according to the identified format, including any recorded salt, cost, or other parameters.

Why can a valid-looking identification still be wrong?

Several algorithms emit the same number of bytes and are commonly written with the same character set. A bare 64-character hexadecimal string, for example, fits the usual SHA-256 representation but is not exclusive to SHA-256. Prefix-bearing formats such as bcrypt are less ambiguous, while untagged digests need provenance or application metadata for confirmation.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools