Skip to content
WebTricks

Hash generator

Generate SHA-1, SHA-256, SHA-384 or SHA-512 hashes of any text using the browser Web Crypto API.

SHA-256 digest

About this hash generator

Compute SHA-1, SHA-256, SHA-384 or SHA-512 digests of any text using the native Web Crypto API. The hex digest updates as you type and copies with one click.

What hashes are for

A cryptographic hash turns any input into a fixed-length fingerprint. Use it to verify file or message integrity, compare values without storing the original, or generate cache keys. Remember hashing is one-way — it is not encryption and cannot be reversed.

FAQ

Which hash algorithm should I use?

SHA-256 is the safe default. Avoid SHA-1 for anything security-related — it is broken for collision resistance and is only fine for non-security checksums.

Is the text I hash sent anywhere?

No — hashing uses the native Web Crypto API and runs entirely in your browser.