DevTools Logo

Hash & Password-Hash Identifier

Hash & Password-Hash Identifier

Fingerprint an unknown digest or password hash and decode its embedded parameters — entirely in this tab.

Runs in your browser
Try an example

Unknown hash

Fingerprint:0 charsmixednone case

Paste or drop a hash. Nothing is uploaded, saved in localStorage or written to the URL.

Format verdict

0 candidates · none

Paste a hash to identify its format

Digests, modular crypt strings, Django fields and LDAP tags are classified locally.

Details

This tool classifies an opaque string by format only. It distinguishes fixed-length hex digests (CRC32, MD5/NTLM/MD4, SHA-1, SHA-2 and SHA-3 families) from modular crypt strings (bcrypt, argon2, SHA-crypt, md5crypt, scrypt, yescrypt, phpass and PBKDF2), framework fields (Django, Spring Security) and LDAP salted tags. Where a grammar matches, embedded parameters such as bcrypt cost, argon2 memory/time/parallelism, iteration counts and salt lengths are decoded into a parameter table with offsets into the pasted string. Several algorithms can share one digest length; in that case all candidates are shown together with context notes instead of a single guess. Analysis is entirely client-side: nothing is uploaded, stored in localStorage or written to the URL, and there is deliberately no cracking, wordlist or password-recovery capability.

More examples

Bare 32-hex digest

5f4dcc3b5aa765d61d8327deb882cf99

32 lowercase hex characters match MD5, NTLM, MD4, MD2 and LM. All candidates appear together because the string alone cannot disambiguate them.

bcrypt with cost

$2b$12$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy

The $2b$ prefix identifies bcrypt; the cost field decodes to 12 (2^12 rounds) and the 53-character payload splits into a 22-character salt and 31-character digest.

Argon2id PHC string

$argon2id$v=19$m=65536,t=3,p=4$c29tZXNhbHQ$RdescudvJCsgt3ub+b+dWRWJTmaaJObG45dcg5V6kw5

Version 19, 65536 KiB (64 MiB) of memory, 3 iterations and parallelism 4 are read directly from the PHC parameter field.

Django PBKDF2 field

pbkdf2_sha256$390000$8HrtQ7nsn3Zx$W8x9lX2S2uS8T1aZ3sY5cT2mD9kC7vN4hJ6pQ8sL1eAA

The leading algorithm name routes this string to the Django parser; the second field is the iteration count (390,000) and the next two are salt and digest.

LDAP salted SHA-1

{SSHA}AAcOFRwjKjE4P0ZNVFtiaXB3foUBAgME

The base64 blob decodes to a 20-byte SHA-1 digest followed by a 4-byte salt; the reported salt length comes from that split.

Examples

Ambiguous 32-hex digest

Input
5f4dcc3b5aa765d61d8327deb882cf99
Output
MD5, NTLM, MD4, MD2, LM — ambiguous

Five algorithms share this length and charset; the tool lists all of them.

bcrypt cost 12

Input
$2b$12$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy
Output
bcrypt — cost 12, 22-char salt + 31-char digest

The exact grammar check validates the 53-character payload and decodes the cost.

Argon2id parameters

Input
$argon2id$v=19$m=65536,t=3,p=4$c29tZXNhbHQ$RdescudvJCsgt3ub+b+dWRWJTmaaJObG45dcg5V6kw5
Output
v=19, m=65536 KiB (64 MiB), t=3, p=4

PHC key/value parameters are read from the string; + and / in the base64 fields are valid.

About this tool

An opaque string in a config file, shadow entry or incident dump rarely says which algorithm produced it. This identifier reads the string's shape — length, character classes, prefixes and field grammar — and reports every plausible format instead of guessing one.

Fixed-length digests are classified by length and charset. A 32-hex value, for example, could be MD5, NTLM, MD4, MD2 or LM, so all five are listed with notes about the context needed to separate them. Modular crypt strings carry their own metadata: bcrypt exposes its cost, Argon2 exposes version, memory, time and parallelism, while SHA-crypt and PBKDF2 expose iteration counts. Framework formats such as Django fields and Spring Security tags are recognised too.

When a grammar matches, the decoded parameters appear in a table with offsets into your pasted string; expand a row to highlight the exact field. Analysis runs entirely in this browser tab. Nothing is uploaded, stored in localStorage or written to the URL, and the tool deliberately offers no cracking, wordlist or password-recovery path.

What this tool does not do

  • Length and charset alone cannot distinguish algorithms that share a digest size; all matching candidates are shown.
  • Encoded parameters are decoded, not verified: this tool never computes a hash or tests a password.
  • Rare or proprietary schemes outside the catalog are reported as unrecognised; batch mode is capped at 200 non-empty lines.

How to use this tool

  1. Paste one string

    Type or paste the digest or password hash into the input panel, or choose one of the sample chips. Leading and trailing whitespace is trimmed.

  2. Read the fingerprint

    The chips under the editor show length, charset, casing and separators — the clues the classifier uses before any grammar is checked.

  3. Compare the candidates

    Exact grammar matches are listed first, then malformed-but-recognisable strings, then length-based candidates. Ambiguous digest lengths always show all candidates together.

  4. Expand a parameter row

    Use the arrow next to a parameter to see its character range highlighted in the original input; copy the whole verdict with the Copy action.

Use cases

Audit a legacy application

Find out which password scheme an old service wrote into its database before planning a migration.

Catalogue credential material

Sort hashes found during an incident by format and parameters, without attempting to recover passwords.

Choose the right verification tool

Map an unfamiliar string to the hash function or password-hashing library needed to verify it.

Review shadow-file defaults

Identify md5crypt, yescrypt or SHA-crypt entries and see their iteration counts or flags.

Recognised formats

FamilyExamples
Fixed-length digests8/16/32/40/56/64/96/128 hex, MySQL *40 hex
bcrypt & md5crypt$2a$/$2b$/$2y$, $1$, $apr1$
Argon2$argon2id$, $argon2i$, $argon2d$
SHA-crypt & PBKDF2$5$, $6$, $pbkdf2-sha256$
scrypt, yescrypt, phpass$s0$, $scrypt$, $7$, $y$, $P$/$H$, Drupal $S$
Framework & directoryDjango pbkdf2_sha256, Spring {bcrypt}, LDAP {SSHA512}

Unknown prefixes are reported as 'no known format' rather than being forced into a guess.

Common mistakes

Mistake:Assuming a 32-hex string is definitely MD5.

Fix:Treat it as MD5/NTLM/MD4/MD2/LM until you know how the input bytes were encoded; NTLM, for example, uses UTF-16LE.

Mistake:Rejecting an Argon2 hash because it contains + or /.

Fix:PHC Argon2 uses standard unpadded base64, so both characters are valid; only '=' padding is unexpected.

Mistake:Counting phpass iteration characters from the wrong end.

Fix:The first character after $P$ is the itoa64 count character; its index gives log2(iterations), e.g. '9' means 2^11 = 2048.

Mistake:Expecting {SSHA52} to be a directory tag.

Fix:LDAP uses {SSHA512} for SHA-512; an unknown tag is reported as unrecognised rather than silently matched.

Frequently asked questions

How can you tell MD5 from NTLM?

You cannot tell them apart from a bare 32-hex string: both are 128-bit values with the same character set. NTLM is MD4 over UTF-16LE password bytes, so its origin (a Windows SAM dump, for example) is the useful clue. This tool lists MD5, NTLM, MD4, MD2 and LM together rather than pretending to know which one you pasted.

What do the $ fields in bcrypt mean?

A bcrypt string such as $2b$12$… splits into the variant ($2a$, $2b$ or $2y$), the cost (12, meaning 2^12 key-expansion rounds), and a 53-character crypt-alphabet payload made of a 22-character salt followed by a 31-character digest. The identifier checks those lengths and reports a field error when they do not match.

Is identifying a hash safe or legal?

Classification is just pattern matching on text you already have: the string stays in this browser tab and is never uploaded or stored. Use it for legitimate audits, forensics, CTFs and incident response. What you may do with the underlying credentials depends on your jurisdiction and authorisation; this tool provides no cracking capability.

What is phpass's P$ prefix?

$P$ marks the portable phpass format used by WordPress and many PHP applications; $H$ is the older variant. The character immediately after the prefix is an itoa64-encoded count: its alphabet index is log2 of the iteration count, so '9' at index 11 means 2^11 = 2048 iterations. The rest is an 8-character salt and a 22-character digest.

Can this tool recover the password?

No. It identifies formats and decodes parameters only. It has no wordlists, no GPU or candidate generation, and no verification step that compares a guessed password against the hash. Use a dedicated, properly authorised verifier if you already know the plaintext and need to check it.

Why does my Argon2 hash contain + and /?

Argon2 PHC strings encode salt and digest with standard base64 and omit the trailing '=' padding, so '+' and '/' are perfectly normal characters. A validator that only allows URL-safe base64 would reject most real Argon2 hashes; this identifier explicitly accepts the standard alphabet.

References & standards