Hash Generator
Generate cryptographic hashes from text — MD5, SHA-1, SHA-256, SHA-512.
Frequently Asked Questions
What is a cryptographic hash?▼
A hash function takes any input and produces a fixed-length string (the hash or digest). The same input always produces the same hash, and even a tiny input change produces a completely different hash. Hashes are one-way — you cannot reverse a hash to get the original text.
What is the difference between MD5, SHA-1, and SHA-256?▼
MD5 produces a 128-bit (32 hex char) hash. SHA-1 produces 160-bit (40 chars). SHA-256 produces 256-bit (64 chars). SHA-512 produces 512-bit (128 chars). Longer hashes are harder to crack. MD5 and SHA-1 are considered cryptographically broken for security use, but are still used for checksums and file verification.
Can I use these hashes for storing passwords?▼
No. MD5, SHA-1, SHA-256, and SHA-512 are fast by design — attackers can compute billions per second. For passwords, use a slow, salted algorithm like bcrypt, scrypt, or Argon2. These tools are for data integrity, not password storage.
Is my input sent to a server?▼
No. All hashing happens entirely in your browser using the Web Crypto API (SHA algorithms) and a pure-JavaScript MD5 implementation. Your text never leaves your device.