Free Hash Generator

Generate MD5, SHA-1, SHA-256, or SHA-512 hashes from any text.

MD5 and SHA-1 are cryptographically broken for security purposes (collisions have been demonstrated) and shouldn't be used for password storage or security-critical applications — they're included here for checksums, cache-busting, and compatibility with legacy systems. SHA-256 or SHA-512 are the appropriate choice for anything security-sensitive.

Worked Example

Example: The text hello hashes to SHA-256: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824.

Formula / Method

SHA-1/256/512 use the browser's native crypto.subtle.digest() (Web Crypto API). MD5 uses a compact JS implementation since it's not exposed by Web Crypto API (being deprecated for security use).

Worked Example

Example: The text hello hashes to SHA-256: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824.

Formula / Method

SHA-1/256/512 use the browser's native crypto.subtle.digest() (Web Crypto API). MD5 uses a compact JS implementation since it's not exposed by Web Crypto API (being deprecated for security use).