🔑

Hash Generator

Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or files using the browser's native Web Crypto API. Nothing is uploaded.

Hashes
SHA-1160 bits · deprecated for security
SHA-256256 bits · recommended
SHA-384384 bits
SHA-512512 bits · strongest
Advertisement
How to use
  1. Choose Text to hash a string, or File to compute a checksum for a local file.
  2. Type / paste your input, or drop in a file — hashing happens automatically via Web Crypto.
  3. Compare the SHA-256 value against a publisher's checksum, or copy any algorithm's digest to your clipboard.
FAQ

Use SHA-256 for anything new — it's the modern security standard. SHA-1 is broken for security but still common for cache keys. For password storage use bcrypt, scrypt, or Argon2, not raw SHA.

No. The Web Crypto API hashes the bytes locally — your file never leaves the browser.

Trailing newlines, BOMs, or different encodings (UTF-8 vs UTF-16) change the bytes that get hashed. Make sure both sides hash the exact same byte sequence.