b2KIT

Hash Type Identifier

Paste any hash and automatically identify its type (MD5, SHA-1, SHA-256, bcrypt, Argon2, etc.) by format and length.

Tested tool guide Tested browser tools Checked August 16, 2026

What Hash Type Identifier does, with a checked example

Hash Type Identifier examines a pasted hash and reports the family suggested by its length, character set, prefixes, and separators. It can recognize bare hexadecimal digests such as MD5, SHA-1, and SHA-256, as well as structured password hashes such as bcrypt and Argon2. The important caveat is that appearance is not proof of origin. Several algorithms can produce identically shaped strings, so an unprefixed digest may have more than one plausible interpretation. Inspection occurs entirely in the browser, which is relevant when the value came from credential data.

Worked example

A concrete input and expected output from the current implementation.

Input

$2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy

Expected output

bcrypt

The $2a$ family marker and the remainder of the structured record match bcrypt's encoded form. This classification comes from the format, not from recovering or testing the password.

How the result is produced

1

Bare digest matching

For an unprefixed value, the detector compares the exact character count and character set with known digest forms. A 32-character hexadecimal value fits the common MD5 presentation, 40 hexadecimal characters fit SHA-1, and 64 fit SHA-256. These checks classify the representation; they do not establish which program created it.

2

Structured hash recognition

Password-hash encodings can expose stronger clues than raw hexadecimal digests. A bcrypt record such as the example begins with a $2a$ family marker and contains delimited settings plus encoded data. Argon2 encodings similarly name variants such as $argon2id$. Those visible markers allow a more specific identification than digest length alone.

Good uses

  • Inspect an unfamiliar credential column before planning a migration, especially when some rows look like bcrypt records and others are bare hexadecimal digests.
  • Check whether a command or application produced the expected SHA-256-shaped output instead of a shorter MD5- or SHA-1-shaped value.
  • Triage a hash copied from a configuration file, breach report, or forensic note when its algorithm label was omitted.

Limits and checks

  • A matching format is evidence, not confirmation. Any arbitrary string with the expected length and alphabet can resemble a real hash.
  • Raw hexadecimal output is often ambiguous. For example, 32 hexadecimal characters are commonly labeled MD5 but can also represent other 128-bit values.
  • The result does not evaluate password strength, algorithm safety, successful verification, corruption, or whether the hash was generated from the claimed source.

Common questions

Can this tool recover the original password or message?

No. It only classifies the visible representation. It does not reverse the hash, search candidate inputs, or verify a guessed password. Even a confident bcrypt or Argon2 identification says what encoding the string resembles, not what secret produced it or whether recovery is practical.

Why can a hash have more than one possible type?

Many formats carry no algorithm name. They are simply hexadecimal or encoded bytes of a particular length, and unrelated algorithms can share that shape. Prefix-bearing formats such as bcrypt or Argon2 are usually easier to distinguish. For an unlabeled digest, context from the producing system may be needed for a definitive answer.

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