Skip to content

Hash Identifier

Identify the type of any hash string online. Free hash identifier that detects MD5, SHA1, SHA256, bcrypt, and 20+ hash formats.

Hash & Crypto
Instant results

Common Hash Lengths

32
MD5
40
SHA-1
64
SHA-256
128
SHA-512

About Hash Identifier

Identify the type of a hash by analyzing its length and format. Note that some hash types share the same length (e.g., MD5 and NTLM), so multiple possibilities may be shown.

How to Use Hash Identifier

1

Paste hash

Drop the hash string into the input field. The identifier processes it immediately, no submit button needed. The tool handles single hashes paste-by-paste; if you have a list, paste them one at a time or use a batch-mode interface if your specific tool supports it.

2

View identification

The output is a ranked list of candidate algorithms based on the hash's length and any format markers it carries. When the format is unambiguous (anything starting with $2b$ is bcrypt, anything with $argon2id$ is Argon2id), you'll see one confident answer. When two algorithms produce the same length without distinguishing markers — MD5 and NTLM both being 32 hex characters is the classic case — both candidates appear with notes on how to disambiguate.

3

Review characteristics

Beyond the algorithm name, the identifier surfaces the hash's length in characters, the character set (hex versus base64 versus a custom alphabet), any format markers it found, and a security note flagging whether the algorithm is still considered safe for its intended purpose. MD5 gets flagged as broken for security uses, SHA-1 as deprecated, while bcrypt and Argon2 remain strong for password storage.

4

Use in your work

Knowing the algorithm is the prerequisite for whatever comes next. In a forensic investigation, it tells you which Hashcat mode to set up. During a security audit of a legacy system, it reveals whether the existing password hashing meets current standards or needs migration. For a database inheritance scenario, it tells you what scheme the previous team used. The identifier itself doesn't crack hashes — that's a separate, much more compute-intensive task.

When to Use Hash Identifier

Forensics and security

Stumbling on an unknown hash during a forensic exam or pentest is common, and you need to know whether you're looking at an MD5, a bcrypt, or something stranger before you can plan next steps. The tool reads length and format markers to narrow the algorithm down to the likely candidates. Pentesters preparing wordlist attacks, forensic analysts examining captured artifacts, and security researchers exploring leaked databases all start here.

Database/log analysis

When you inherit a database with a column of hashed values and no documentation, identifying what was used is the first step before any audit, migration, or comparison. Sometimes the answer is 'this is SHA-256, your predecessor migrated away from MD5 last year'; sometimes it's 'these are bcrypt with cost 12, leave them alone.' The tool surfaces the answer quickly without you having to compare lengths against a cheat sheet.

CTF challenges

Capture-the-flag competitions love throwing hashes at participants and asking what they are. Identifying the algorithm is the first puzzle in any cracking challenge — you can't pick the right Hashcat mode without knowing what you're cracking. The tool is the standard quick step before whatever follows. Useful for security training programs and individual CTF practice.

Educational/learning

The character-length signature of common hashes is one of those facts that's easier to internalize through examples than by memorizing a table. MD5 is 32 hex characters, SHA-1 is 40, SHA-256 is 64, bcrypt looks completely different at 60 characters with dollar-sign delimiters. Cryptography students and security learners use the tool as both identifier and teaching aid.

Hash Identifier Examples

MD5 hash

Input
5d41402abc4b2a76b9719d911017c592
Output
32 hex characters. Most likely MD5 — though NTLM (the Windows password hash) shares the same format and is the other common candidate.

32 hex characters encode 128 bits, which matches both MD5 and NTLM. Without surrounding context, MD5 is the more frequent guess because it shows up everywhere — file checksums, legacy password schemes, and tons of non-security hash applications. NTLM only appears in Windows authentication contexts.

SHA-256

Input
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
Output
64 hex characters. SHA-256.

64 hex characters encode 256 bits, which is SHA-256 specifically. The algorithm shows up across blockchain protocols, TLS certificate fingerprints, modern password hashing schemes (paired with salt and stretching), and general-purpose file integrity. Cryptographically strong, no known practical collision attacks.

Bcrypt password

Input
$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW
Output
Bcrypt with cost factor 12. Used for password hashing.

Bcrypt has an unmistakable format — a dollar-sign-delimited string starting with $2a$, $2b$, or $2y$, followed by a cost factor and a base64-encoded salt and hash. The whole design is intentionally slow, with cost 12 meaning roughly 4,096 hash rounds. That slowness is what makes it good for passwords; a fast hash like SHA-256 would crack too easily under offline attack.

Tips & Best Practices for Hash Identifier

  • 1.Length is the single strongest signal. MD5 is 32 hex characters, SHA-1 is 40, SHA-256 is 64, SHA-512 is 128. Bcrypt is 60 characters total including the dollar-sign delimiters. Get the length right and you're already most of the way to the algorithm.
  • 2.Format markers nail down the rest. $2y$ or $2b$ at the start means bcrypt. $1$ is MD5-crypt (the Unix variant). $5$ and $6$ are SHA-256-crypt and SHA-512-crypt. $argon2id$ is Argon2id. These prefixes are unambiguous when you see them.
  • 3.Distinguish hex from base64. Hex uses only 0-9 and a-f, base64 uses A-Z plus a-z plus 0-9 plus a few specials. Two hashes of the same underlying length can look completely different depending on encoding — bcrypt's base64 variant looks unlike anything in hex form.
  • 4.Don't conflate algorithm identification with security assessment. Knowing it's MD5 doesn't tell you whether it's safe — it isn't, in 2026. The algorithm matters: MD5 is broken for security purposes, SHA-1 is weakened, bcrypt and Argon2 remain strong for passwords specifically.
  • 5.Identifying a hash doesn't reverse it. Hash functions are one-way by design; you'd need a separate cracking tool, a wordlist, and a lot of GPU time to actually recover the input from a hash. Identification is just the prerequisite step.
  • 6.Keep current on cryptographic best practice. The catalog of safe-versus-unsafe hashes shifts over time — MD5 fell to practical collisions in 2004, SHA-1 in 2017. For new code, SHA-256 or stronger for general hashing and bcrypt or Argon2 for passwords are still the right defaults.

Frequently Asked Questions

It examines a hash string and tries to figure out which algorithm produced it. The signals it looks at are character length (MD5 is 32 hex characters, SHA-256 is 64, and so on), the character set used (hex versus base64), and any format prefixes that pin down the algorithm exactly (the dollar-sign-delimited prefixes used by bcrypt and the crypt-style password hashes). The output is a ranked list of candidates rather than a single answer, because some lengths overlap between algorithms.