Hash Generator
Compute SHA-1, SHA-256, SHA-384, and SHA-512 hashes of any text.
SHA-256 digest
—
Computed locally with the Web Crypto API. Note: SHA-1 is not collision-resistant and should not be used for security.
Formula & methodology
Hashes are computed with SubtleCrypto.digest over the UTF-8 bytes of the input.
Frequently asked questions
Is SHA-1 safe?
SHA-1 is deprecated for security uses because collisions are feasible. Prefer SHA-256 or higher.
Can I hash a file?
This tool hashes text. File hashing may be added later.
Privacy
All processing happens locally in your browser. Your data is never uploaded.
Disclaimer: SHA-1 is not collision-resistant and should not be used for new security applications.