The SHA Hash Generator computes SHA-1, SHA-256, or SHA-512 cryptographic hashes using the browser's native Web Crypto API (crypto.subtle.digest()). This means hashing is performed by the browser's built-in cryptographic engine — no third-party library, no server round-trip, and no risk of your data being intercepted.
The hash updates live as you type, and file hashing is supported for any file size that fits in browser memory.
1. Select your algorithm (SHA-256 is recommended for most uses).
2. Type or paste text — the hash updates automatically.
3. Or click Upload File to hash any file client-side.
4. Click Copy Hash to copy the result.
What is the difference between SHA-1, SHA-256, and SHA-512?
SHA-1 produces a 160-bit (40 hex character) hash and is no longer recommended for security use. SHA-256 produces a 256-bit (64 hex character) hash and is the current standard for most security applications. SHA-512 produces a 512-bit (128 hex character) hash and is used where extra security margin is needed, particularly on 64-bit platforms where it can be faster than SHA-256.
Is SHA-256 safe for password storage?
SHA-256 alone is not recommended for password storage. Passwords should be hashed with a slow, salted algorithm like BCrypt, scrypt, or Argon2 that is specifically designed to resist brute-force attacks. Use the BCrypt Hash Generator tool for passwords.
What is SHA hashing used for?
Common uses include verifying file integrity (checksums), digital signatures, certificate fingerprints, HMAC generation, blockchain and cryptocurrency, and API request signing.
Is my data sent to a server?
No. Hashing is performed using the browser's native Web Crypto API (window.crypto.subtle). Your data never leaves your device.
Can I hash a file?
Yes — click Upload File and select any file. The hash is computed client-side using the ArrayBuffer API and Web Crypto.