Hash Generator
Type any text and get its MD5, SHA-1, SHA-256, and SHA-512 hashes instantly.
Advertisement
What is a hash?
A hash function turns any input into a fixed-length fingerprint. Change one character and the fingerprint changes completely, which makes hashes ideal for verifying downloads, fingerprinting files, and (with salt) storing passwords.
Which algorithm should I use?
MD5 is fast and fine for checksums, but cryptographically broken — never use it for security. SHA-1 is deprecated for the same reason. SHA-256 is the safe default; SHA-512 is stronger and faster on 64-bit hardware.
FAQ
What is a hash used for?
Hashes verify file integrity, store passwords safely (with salt), and fingerprint data. If even one character changes, the hash changes completely — so comparing hashes tells you whether data was altered.
Is MD5 still safe to use?
MD5 is fine for non-security uses like checksums and cache keys, but it is broken for security: attackers can craft two different inputs with the same MD5. Use SHA-256 or SHA-512 for anything security-related.
SHA-256 vs SHA-512 — which should I pick?
Both are secure. SHA-512 is faster on 64-bit CPUs and has a larger output (128 hex chars vs 64). SHA-256 is the most widely supported default — when in doubt, use SHA-256.
Is my input sent to a server?
No. All hashes are computed locally in your browser — MD5 with a hand-written implementation, SHA variants with the Web Crypto API. Your text never leaves your device.
Advertisement