Hash Generator

Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text or a file.

Runs in your browser using Web Crypto (SubtleCrypto.digest) — nothing is uploaded

How to use it

  1. Type text, or switch to the file tab and choose a file.
  2. All four hashes are calculated at once.
  3. Click any hash to copy it.

Questions

Which algorithm should I use?
SHA-256 for almost everything. SHA-1 is included because older systems still publish SHA-1 checksums, but it is broken for security purposes and should not be used for anything new.
Can I hash a large file?
Yes. The file is read in your browser and never uploaded. Very large files are limited only by available memory.
Where is MD5?
Browsers do not provide MD5, and it is cryptographically broken. Rather than ship a hand-written implementation that might be subtly wrong, this tool offers only algorithms your browser implements natively.

Related tools