🔐 Security & Privacy

Hash Type Identifier

Find out what kind of hash a string is.

  • 200hashes per paste
  • 30+formats recognised
  • hashcatmode numbers shown
  • Offlinenothing uploaded

How to use the Hash Identifier

  1. 1

    Paste one hash per line

    Up to 200 lines are checked at once; blank lines and surrounding spaces are ignored.

  2. 2

    Read the match type

    An “exact format match” means a prefix such as $2b$ names the algorithm; a hex or Base64 match means only the length is known.

  3. 3

    Check the candidate list

    The most likely algorithm is listed first, followed by other algorithms with the same length.

  4. 4

    Use the context

    Where the hash came from (a Windows dump, a WordPress table, a Linux shadow file) decides between equal-length candidates.

Features

Prefix detection

bcrypt, Argon2, md5crypt, sha256crypt, sha512crypt, yescrypt, scrypt, phpass and Django formats.

Length analysis

Hex digests from 8 to 128 characters, mapped to every common algorithm of that size.

Base64 digests

Recognises MD5, SHA-1, SHA-256, SHA-384 and SHA-512 digests written in Base64.

Salted pairs

Spots the hash:salt layout used by many older web apps.

Not-a-hash warnings

Flags JSON Web Tokens and UUIDs, which are often mistaken for hashes.

hashcat modes

Shows the -m number for each candidate where one exists.

Who uses it — and for what

Developers

Find out how a legacy app stored passwords before a migration.

Security testers

Triage hashes found during an authorised assessment.

Students and CTF players

Learn what different hash formats look like.

Database admins

Identify what an unlabelled column contains.

How identification works

Many hashes have a recognisable shape. Modern password hashes carry a prefix that names them exactly — $2b$ is bcrypt, $argon2id$ is Argon2, $6$ is SHA-512 crypt used in Linux /etc/shadow, $P$ is WordPress phpass, pbkdf2_sha256$ is Django. Plain hex digests only reveal their length: 32 hex characters could be MD5, NTLM or MD4; 64 could be SHA-256, SHA3-256 or BLAKE2s. The identifier lists the most likely algorithms first, along with the hashcat mode number used by penetration testers and password-recovery tools.

Typical uses

  • Work out how an old application stored passwords before migrating it to a modern hash.
  • Check what a configuration file or database column contains.
  • CTF challenges and authorised security assessments.

Only test hashes you own or are authorised to assess. Identification is offline and nothing is sent anywhere. To compute hashes, use the Hash Generator; for bcrypt and Argon2, use their dedicated generators.

Hex length cheat sheet

A hex character carries 4 bits, so the length of a plain digest tells you its size in bits — and the size narrows the algorithm down to a short list.

Hex charactersBitsMost likely
832CRC-32 checksum (not a security hash)
32128MD5, NTLM, MD4
40160SHA-1, RIPEMD-160
56224SHA-224, SHA3-224
64256SHA-256, SHA3-256, Keccak-256, BLAKE2s
96384SHA-384, SHA3-384
128512SHA-512, SHA3-512, BLAKE2b, Whirlpool

Any other length — say 30 or 70 hex characters — usually means the value was cut off when copied, or it is not a hash at all. Uppercase and lowercase hex are treated the same.

Anatomy of a modular crypt string

Password hashes made for operating systems and frameworks pack everything needed to verify them into one string, separated by $: an identifier, optional parameters, the salt and the hash. $1$ is md5crypt, $5$ and $6$ are SHA-256 and SHA-512 crypt (optionally with rounds=), $y$ is yescrypt, used by recent Debian, Ubuntu and Fedora releases, and Argon2 uses the longer PHC style $argon2id$v=19$m=…,t=…,p=…$salt$hash. Because these formats are self-describing, the tool can name them with certainty, while a bare hex digest only ever yields a list of candidates.

Watch out for look-alikes. A string starting with eyJ and containing two dots is a JSON Web Token — Base64 of {" — and can be decoded with the JWT Decoder. A 36-character value with four hyphens is a UUID, an identifier rather than a hash; see the UUID Generator.

Worked examples

One password, three hashes

The word password hashed three ways gives 5f4dcc3b5aa765d61d8327deb882cf99 (MD5, 32 hex characters), 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8 (SHA-1, 40) and 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8 (SHA-256, 64). The identifier names each by length only. All three are unsalted fast hashes, so a common word like this is found instantly in public lookup tables — which is exactly why passwords should be stored with bcrypt or Argon2 instead.

The same MD5 in Base64

X03MO1qnZdYdgyfeuILPmQ== is the same 16-byte MD5 digest as above, written in Base64 instead of hex. Because 16 bytes always encode to 24 Base64 characters ending in ==, the tool reports “MD5 digest, Base64-encoded”. Likewise 28 characters means a 20-byte SHA-1, 44 a SHA-256, 64 a SHA-384 and 88 a SHA-512.

Reading a bcrypt string

The sample $2b$12$KIXQJhGgV2X5e0Ff0P2ZbO… is 60 characters: $2b$ is the bcrypt version, 12 is the cost (212 = 4,096 rounds of the expensive key setup), the next 22 characters are the salt and the last 31 are the hash itself.

Pro tips

  • Copying from spreadsheets or PDFs often adds invisible spaces or drops the last character — if a hash shows an odd length, re-copy it from the source.
  • Your pasted list is remembered in this browser’s local storage so it is still there on your next visit; press Clear when you are finished with sensitive material.

Glossary

Digest
The fixed-length output of a hash function, usually written in hex or Base64.
Salt
Random data mixed into a password before hashing so identical passwords produce different hashes.
Cost / rounds
A work factor stored in slow password hashes; each step up makes every guess more expensive.
Modular crypt format
The $id$salt$hash string layout used by Unix password hashes.

Frequently asked questions

Can it tell MD5 from NTLM?

Not from the string alone — both are 32 hex characters. Context (where the hash came from) decides.

Can it crack the hash?

No. It only identifies the format.

What are hashcat modes?

Numbers that tell the hashcat tool which algorithm to use, such as 0 for MD5 or 3200 for bcrypt.

Why does the tool list several algorithms for one hash?

Plain digests contain no label, only a length. Every algorithm with that output size is a possible match, so they are listed from most to least common.

Is it safe to paste real password hashes here?

Identification runs entirely in your browser and nothing is sent anywhere, but the text is kept in local storage until you clear it, so use Clear on shared computers.

What does “no common hash has this length” mean?

The value is hexadecimal but does not match any standard digest size, which usually means it was truncated, padded or is some other kind of identifier.

Found it useful? Share the Hash Identifier:

Last updated 2026-11-28 · Built by Vinayak Agarwal · Part of Security & Privacy (20 tools)