Toolhaus

Hash Generator

Compute SHA-1, SHA-256, SHA-384, and SHA-512 hashes of any text.

Generate a cryptographic hash of any text using the Web Crypto API. Choose SHA-1, SHA-256, SHA-384, or SHA-512. Computed locally, nothing is uploaded.

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.

Read the practical guide for this category.

Related tools