Hash Generator

Generate SHA-1, SHA-256, SHA-512 hashes from any text. Uses the browser's built-in Web Crypto API — your data never leaves your device.

Input Text
Hash a File

Drop or select a file to compute its SHA-256 hash.

Frequently Asked Questions

What is a hash function?
A hash function converts input data of any size into a fixed-size string. The same input always produces the same output, but you cannot reverse it to get the original input.
Is MD5 secure?
MD5 is considered cryptographically broken and should not be used for security purposes. Use SHA-256 or SHA-512 for security-sensitive applications. MD5 is still fine for checksums.
Which algorithm should I use?
SHA-256 is the standard choice for most uses. SHA-512 offers more security. SHA-1 is legacy. Avoid MD5 for anything security-critical.