Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes for text or files, and verify against an expected value.
Runs entirely in your browser — nothing is uploadedText
SHA-256 digest
About the Hash Generator
Hash text or files with MD5, SHA-1, SHA-256, SHA-384 or SHA-512. The SHA family is computed with the browser's native Web Crypto API, so it is fast and uses the same vetted implementation your browser uses for TLS.
MD5 is hashed incrementally in chunks, so files of any size work. The SHA family goes through the browser's Web Crypto API, which has no streaming digest — the whole file has to be resident in memory, so SHA hashing is capped at 512 MB and tells you so rather than crashing. Either way a progress bar tracks the read. The usual reason to hash a file is verifying a download against the checksum published by its author — paste the expected value into the compare field and the tool tells you plainly whether it matches.
An HMAC mode is included for signature work: supply a key and get an HMAC-SHA256 (or other digest) over your message, which is what most webhook signature schemes require you to reproduce when debugging.
MD5 and SHA-1 are provided because real systems still use them, but both are cryptographically broken — practical collision attacks exist. They remain acceptable as non-security checksums for detecting accidental corruption, and unacceptable for signatures, passwords or integrity guarantees against an adversary.
Everything runs inside your browser using standard web APIs. Your data is never uploaded, never stored on a server, and never leaves your device — you can confirm that by opening your browser devtools Network tab, or by switching off your Wi-Fi and using the tool offline.
Frequently asked questions
Is MD5 still safe to use?
Not for anything security-related. Practical collision attacks against MD5 have existed since 2004, and SHA-1 fell in 2017. Both are fine for detecting accidental file corruption; use SHA-256 or better whenever an adversary might be involved.
Can I hash a large file?
With MD5, yes — it is computed incrementally in chunks at any size. SHA-256 and friends use the browser Web Crypto API, which offers no streaming interface, so the file must fit in memory; the tool caps SHA at 512 MB and tells you to use MD5 or a command-line tool such as shasum instead of failing silently.
How do I verify a download checksum?
Drop the downloaded file in, pick the algorithm the publisher used (usually SHA-256), and paste their published value into the compare field. A match confirms the file is byte-identical to what they released.
Should I use this to hash passwords?
No. Passwords need a slow, salted, purpose-built function such as bcrypt, scrypt or Argon2. A plain SHA-256 of a password is trivially cracked with commodity hardware.