SHA-1, SHA-256, SHA-384 & SHA-512 Hash Generator
Every SHA digest of your text, computed live.
Free · no sign-up · runs locally·
About this tool
The SHA-2 family (SHA-256, SHA-384, SHA-512) is the workhorse of modern integrity checking — TLS certificates, code signing, blockchain, password storage pipelines. This tool computes all digests simultaneously as you type, using the browser's native Web Crypto implementation.
SHA-1 is included for compatibility and legacy verification only: practical collision attacks have existed since 2017, so never use it for signatures or new designs.
Like everything on encrypt.tools, this runs entirely in your browser — nothing you enter is transmitted or stored.
Do the same in a terminal
Reproduce or cross-check this tool with standard command-line utilities. For deterministic operations like hashing and encoding, the output matches exactly.
$ printf 'hello' | sha256sum
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 -
$ printf 'hello' | shasum -a 512 # macOS; or sha512sum on LinuxGet-FileHash .\file.txt -Algorithm SHA256Frequently asked questions about SHA Hash Generator
Which SHA algorithm should I use?+
SHA-256 is the standard choice for integrity and signatures. Use SHA-384 or SHA-512 for higher security margins. Avoid SHA-1 for anything security-sensitive — it has practical collision attacks.
Why is SHA-1 shown if it's broken?+
For verifying legacy checksums and understanding older systems. SHA-1 collisions have been demonstrated since 2017, so never use it for new signatures or security.
Are these hashes computed locally?+
Yes — all digests are computed in your browser with the Web Crypto API. Nothing you type is uploaded.
Encoding vs Encryption vs Hashing: The Difference, With Examples
Encoding, encryption and hashing all turn data into gibberish, but only one keeps secrets. Learn the difference with real Base64, AES and SHA-256 examples and when to use each.
6 MIN READHASHING · HOW-TOHow to Verify a SHA-256 Checksum on Windows, macOS and Linux
Step-by-step commands to check a file's SHA-256 hash on Windows (PowerShell, certutil), macOS and Linux — plus how to verify the checksum file itself with GPG, and what a mismatch means.
5 MIN READHASHING · SECURITYIs MD5 Still Safe? When MD5 and SHA-1 Are (and Aren't) OK to Use
MD5 and SHA-1 are broken — but not for everything. Learn exactly which attacks exist, where MD5 and SHA-1 are still acceptable, where they are dangerous, and what to use instead.
5 MIN READ