Hash Generator

Compute cryptographic hashes of any text using the Web Crypto API. Supports SHA-1, SHA-256, SHA-384 and SHA-512. Hashing happens locally — your input is never transmitted.

Hashing uses the Web Crypto API locally in your browser — input never leaves your device.

How it works

Your input is encoded to UTF-8 and passed to crypto.subtle.digest with the selected algorithm. The resulting ArrayBuffer is converted to a lowercase hexadecimal string, the standard representation for hashes.

Frequently asked questions

Which hash algorithm should I use?

SHA-256 is the modern default for checksums and integrity. SHA-1 is considered weak for security purposes and should only be used for compatibility.

Can a hash be reversed?

No. Cryptographic hashes are one-way functions. The same input always produces the same hash, but you cannot recover the input from the hash.

Related tools