Hash Generator (MD5 / SHA-1 / SHA-256 / SHA-512)
Type text or choose a file — all four hashes update instantly, side by side. Everything runs locally in your browser: nothing you type or upload is sent anywhere.
How to use
Paste text to hash it live, or use the file picker to hash an entire file (useful for verifying a download matches the checksum published by its source). Each algorithm's result appears with its own copy button.
SHA-256 and SHA-512 are computed via the browser's native Web Crypto API — the same cryptographic primitive used by TLS and password systems. MD5 is included separately because it's still widely required for legacy compatibility and non-security checksums, even though it's no longer considered secure for cryptographic use.
FAQ
Which hash algorithm should I use?
For verifying file integrity against a checksum someone else published, use whichever algorithm they published (often SHA-256 today, MD5 on older software). For anything security-related — passwords, signatures, tokens — use SHA-256 or SHA-512; never MD5 or SHA-1, both of which have known collision vulnerabilities.
Is MD5 safe to use?
Not for security purposes — MD5 collisions can be engineered deliberately, so it must never be used for passwords, signatures, or verifying that a file hasn't been tampered with by an adversary. It's still fine for non-adversarial checksums, like confirming a download wasn't corrupted in transit.
Is my file uploaded to hash it?
No. The file is read and hashed directly in your browser using the File API and Web Crypto — it never leaves your device, which makes this safe for sensitive or large files.
Why do the same input and algorithm always give the same hash?
That's the defining property of a hash function: it's deterministic. The same exact input always produces the same output, which is exactly what makes hashes useful for verifying two files or messages are identical without comparing them byte by byte.