Quick Answer
A hash generator runs a one-way function over your text and returns a fixed-length fingerprint. The same input always produces the same hash, but the hash cannot be reversed into the input. This tool outputs MD5, SHA-1, SHA-256 and SHA-512 at once, with optional HMAC keying and file hashing.
What This Tool Does
Paste text and all four fingerprints appear instantly — MD5 via a built-in implementation, the SHA family via the Web Crypto API (crypto.subtle.digest), the same implementation browsers use for TLS. Add a secret key to get HMAC variants, or hash a whole file's contents with the upload button.
Key Features
- All algorithms at once — MD5, SHA-1, SHA-256, SHA-512 in one output.
- HMAC support — enter a secret key for keyed (HMAC-) hashes.
- File hashing — hash any file's contents locally.
- Uppercase option — match hex casing conventions.
- Local and instant — hashing never leaves your device.
- Copy one-click — grab all fingerprints for verification.
How to Use the Hash Generator
- Type or paste text into the input box, or click Hash a File to hash a file's contents.
- Optionally enter an HMAC secret key to get HMAC-MD5/HMAC-SHA variants.
- Read all four hashes — MD5, SHA-1, SHA-256 and SHA-512 — on the right; they update as you type.
- Click Copy to grab them all.
Use Cases
- Verifying a downloaded file against a published SHA-256 checksum.
- Generating a content fingerprint to detect accidental changes.
- Teaching how one-way hashing behaves — same input, same output, always.
Tips
- SHA-256 is the safe default. SHA-1 is legacy — avoid it for security-sensitive checks.
- Hashes are not encryption: they are fingerprints. Never store passwords as plain SHA-256 (use a key-derivation function instead).
- To check a file, hash its contents, not just its name.
Privacy
Hashing runs locally with the Web Crypto API — your text never leaves the browser.
Conclusion
Fingerprint anything in one click: paste, hash, copy. Free, fast, and fully private.