Hash Identifier

HASH

Hash Identifier

Free  ·  Instant In-Browser  ·  Hashcat Mode & John Format Lookup
Paste any cryptographic hash string below. This online hash identifier identifies likely algorithms based on length, prefix patterns, and encoding, mapping exact Hashcat -m modes and John the Ripper formats. Runs 100% in your browser.
Paste a hash string above to identify its algorithm and Hashcat mode.

Authorized security testing only. Identification is not cracking. If your string starts with eyJ, it is a JSON Web Token. Use our JWT Decoder.

Identify any unknown hash string instantly with this free online hash identifier. Paste a hash below to determine its underlying algorithm based on character length, prefix signatures, and encoding rules. This tool automatically maps the exact hashcat -m modes and john --format flags needed for security audits and penetration testing. Refer to official Hashcat Example Hashes and the John the Ripper Documentation for complete mode references.

Also explore our JWT Decoder and JSON Formatter for additional developer tools.

How This Hash Identifier Works

  1. Paste the hash string into the input box above.
  2. Prefix pattern rules run first. Hashes starting with $2y$ (bcrypt), $argon2id$ (Argon2), $P$ (WordPress), or $6$ (SHA-512 crypt) are identified instantly with high confidence.
  3. Hexadecimal character length evaluation runs next. MD5 (32 chars), SHA-1 (40 chars), SHA-256 (64 chars), and SHA-512 (128 chars) are mapped to their respective algorithm families.
  4. Review the candidate list. Copy the exact hashcat -m or john --format command string for your security benchmarks.

Common Hash Lengths and Algorithms Quick Reference

Length (Hex)Likely AlgorithmHashcat Mode (-m)John Format
32 charsMD5 / NTLM / MD4-m 0 (MD5) / -m 1000 (NTLM)raw-md5 / nt
40 charsSHA-1 / RIPEMD-160-m 100 (SHA-1) / -m 6000raw-sha1
56 charsSHA-224-m 1300raw-sha224
64 charsSHA-256 / SHA3-256-m 1400raw-sha256
96 charsSHA-384-m 10800raw-sha384
128 charsSHA-512 / Whirlpool-m 1700 (SHA-512)raw-sha512
$2y$ / $2b$bcrypt-m 3200bcrypt
$P$ / $H$WordPress phpass-m 400phpass

Why Hash Identification Matters for Pentesters

Selecting the wrong algorithm mode in Hashcat wastes GPU computation cycles. For example, running an NTLM hash list under mode -m 0 (MD5) produces zero matches because NTLM uses UTF-16LE encoding internally. Identifying prefix signatures like $P$ or $2a$ beforehand ensures you pass the exact parameters to your authorized audit framework.

Important Note on Web Tokens

If your string starts with eyJ and contains dot-separated sections, it is a JSON Web Token (JWT) rather than a password hash. Passwords should never be hashed as plain JWTs. Use our dedicated JWT Decoder Tool to parse its header and payload claims.

Check out our full Free Tools Directory for more cybersecurity and developer utilities.

Frequently Asked Questions

Does this hash identifier crack or decrypt hashes?
No. This tool only identifies the algorithm family, length, and Hashcat/John mode options based on character patterns. It does not reverse hashes or query rainbow tables.
Why do MD5 and NTLM share the same 32-character length?
Both MD5 and NTLM output a 128-bit (16-byte) digest, which formats as 32 hexadecimal characters. Context dictates the hash type: web database dumps usually use MD5, while Windows SAM dumps use NTLM.
What Hashcat mode should I use for WordPress password hashes?
WordPress user hashes start with $P$ or $H$ (phpass framework). Use Hashcat mode -m 400 or John format john --format=phpass.
Is my hash string sent to any server?
No. All pattern matching and string identification take place entirely inside your browser tab using JavaScript. No hash strings are transmitted to CodeCrackers or any remote server.