Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes from any text. Runs in your browser.
About hashes
- MD5 and SHA-1 are cryptographically broken, fine for file checksums, but never use them for passwords or signatures.
- SHA-256 and SHA-512 are still considered secure for general hashing needs.
- For password storage, use bcrypt, argon2 or scrypt, not plain SHA.
- All hashing happens locally via the Web Crypto API and a small MD5 library; your text never leaves the browser.
Frequently asked questions
Which hash should I use?
For integrity or fingerprints use SHA-256 or stronger. MD5 and SHA-1 remain useful for non-security tasks like cache busting but are broken for collision resistance and must not be used for passwords or signatures.
Are my files uploaded to compute the hash?
No. Hashing runs entirely with the Web Crypto API in your browser. The bytes never leave your device.
Can I hash very large files?
Files up to several gigabytes work, though hashing is naturally slower for big inputs because the entire content must be read. Chunked streaming is used to avoid loading the file in memory all at once.
Why does the same input always give the same hash?
That is by definition. A hash function is deterministic: identical input always produces identical output, which is what makes hashes useful for fingerprints.
Advertisement