Security

Hash Generator (SHA-1 / SHA-256 / SHA-512)

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

Text to hash

Hashing runs entirely in your browser via the Web Crypto API — nothing is uploaded to a server, even in file mode. MD5 is intentionally omitted since it's cryptographically broken; use SHA-256 or better for anything security-related.

About this tool

Cryptographic hash functions turn any input into a fixed-length fingerprint — useful for verifying file integrity, comparing values without storing the original, or generating deterministic identifiers. This tool computes several common hash algorithms using your browser's native Web Crypto API.

How it works

  1. Type or paste text, or switch to File mode and choose a file.
  2. SHA-1, SHA-256, SHA-384, and SHA-512 hashes are computed live using crypto.subtle.digest.
  3. Copy any hash with one click.

Frequently asked questions

Why isn't MD5 included?

MD5 is cryptographically broken — collisions can be generated deliberately, so it shouldn't be used for anything security-sensitive. SHA-256 or SHA-512 are the modern defaults.

Can I hash a file instead of text?

Yes — switch to File mode and choose a file. It's read and hashed directly in your browser via the File and Web Crypto APIs; the file itself is never uploaded anywhere.