
This hash generator computes SHA-256, SHA-384, SHA-512, SHA-1, MD5, CRC32, NTLM, HMAC-SHA256 and bcrypt for any text, and file checksums for files of any type, entirely in your browser. SHA hashes come from the Web Crypto API (crypto.subtle.digest), MD5 and CRC32 stream through the file in 8 MB slices, and bcrypt loads only when you select it. Paste a published checksum to verify a download, or compare a hash from a threat report against a sample, without uploading either.
How do you verify a file checksum?
Hash the downloaded file with the same algorithm the publisher used, usually SHA-256, and compare the result with the published value; a single changed byte produces a completely different hash.
Drop the file in the File checksum tab and paste the vendor's value into the compare box. The tool highlights the matching algorithm, or tells you which algorithm a non-matching value looks like based on its length: 32 hex characters for MD5, 40 for SHA-1, 64 for SHA-256 and 128 for SHA-512. A matching checksum proves the file is intact; it proves authenticity only if you got the checksum from a trusted channel, ideally a signed release page.
From a terminal the same check is sha256sum file.iso on Linux, shasum -a 256 file.iso on macOS and Get-FileHash file.iso -Algorithm SHA256 in PowerShell.
How it works: Hash & Checksum Generator
How does SHA-256 work, and is it secure?
SHA-256 pads the input, splits it into 512-bit blocks and runs 64 rounds of bitwise mixing per block to produce a 256-bit digest. No practical collision or preimage attack is known, so it is secure for integrity checks and signatures.
SHA-256 is a one-way function: there is no key and no way to reverse it. "Decrypting" a hash really means guessing inputs until one matches, which works only for short or common strings such as passwords. That is why passwords need a slow, salted algorithm like bcrypt, not a fast hash.
Should you still use MD5 or SHA-1?
Not for security. Both have practical collision attacks, so two different files can share a hash. They remain useful for non-adversarial checks, legacy mirrors and matching indicators of compromise that feeds still publish as MD5.
Many malware reports and older package mirrors list MD5 or SHA-1, so incident responders still compute them. CRC32 is an error-detecting code, not a cryptographic hash; it appears in zip, gzip and PNG files and catches accidental corruption only.
What are HMAC-SHA256, bcrypt and NTLM hashes for?
HMAC-SHA256 authenticates a message with a shared secret (API and webhook signatures), bcrypt stores passwords with a salt and tunable cost, and NTLM is the MD4-based Windows password hash used in Active Directory audits.
To check a webhook signature, paste the raw request body, enter the signing secret and compare the hex output with the signature header. bcrypt produces a different $2b$ string on every run because the salt is random; use Verify bcrypt to check a password against a stored hash. The NTLM output is MD4 of the UTF-16LE password, useful for testing password-audit tooling with test values. Never paste real production passwords into any web page, including this one.
Hash algorithm cheat sheet
| Algorithm | Hex length | Use today |
|---|---|---|
| SHA-256 | 64 | File integrity, signatures, TLS, Git (newer repos) |
| SHA-512 | 128 | Integrity on 64-bit systems, Linux shadow ($6$) |
| SHA-1 | 40 | Legacy only: collisions demonstrated (SHAttered) |
| MD5 | 32 | Legacy checksums and IOC matching only |
| CRC32 | 8 | Accidental corruption detection (zip, PNG) |
| HMAC-SHA256 | 64 | API, JWT HS256 and webhook signatures |
| bcrypt | 60 chars | Password storage (cost 10–12) |
| NTLM | 32 | Windows password hash (audits, not storage) |
Output length and status of common hash algorithms
Command-line examples
Linux / macOS SHA-256
sha256sum ubuntu.iso # macOS: shasum -a 256 ubuntu.isoPowerShell file hash
Get-FileHash .\setup.exe -Algorithm SHA256HMAC-SHA256 with OpenSSL
printf %s "$BODY" | openssl dgst -sha256 -hmac "$SECRET"Frequently asked questions
A 128-bit fingerprint of a file, written as 32 hex characters. It detects accidental changes but is no longer collision-resistant, so prefer SHA-256 for security.
Related tools
- IOC ExtractorExtract and defang indicators of compromise from reports and logs, then export CSV or JSON.
- JWT DecoderSplit a token into header, payload and signature, audit claims and verify HMAC signatures.
- Log DeobfuscatorDecode Base64, PowerShell, hex, URL and gzip with auto-detect, plus text-to-binary, dec-to-hex and an ASCII table.