Skip to content

Hash Generator

Compute SHA-1, SHA-256, SHA-384, and SHA-512 hashes.

The digest appears here.

Pick an algorithm and type or paste text to see its cryptographic hash as a hex string. A hash is a fixed-length fingerprint of the input — the same text always yields the same digest, and any change produces a completely different one, which is why hashes are used for checksums and integrity checks.

Hashing runs entirely in your browser via the Web Crypto API (`crypto.subtle.digest`), so the input never leaves your device. Note that a plain hash is not encryption and, for passwords, is not a substitute for a purpose-built algorithm like bcrypt or Argon2 with a salt.

Frequently asked questions

Can I generate an MD5 hash here?

No. This tool uses the browser’s Web Crypto API, which intentionally does not support MD5 because it is cryptographically broken. It offers SHA-1, SHA-256, SHA-384, and SHA-512 — prefer SHA-256 or stronger for anything security-related.

Is hashing the same as encryption?

No. Hashing is one-way — you cannot recover the original text from the digest — and is used for integrity and fingerprinting. Encryption is reversible with a key. And for storing passwords, use a slow, salted algorithm (bcrypt, scrypt, Argon2), not a raw SHA hash.