Hash Generator (MD5/SHA-1/SHA-256/SHA-512)

Compute MD5, SHA-1, SHA-256, and SHA-512 entirely in your browser.

Your text is hashed only in your browser. Nothing is uploaded.

Hash functions map input of any length to a fixed-length hex string. They're commonly used to verify file integrity, generate cache keys, or detect tampering. A note on security: MD5 and SHA-1 have known, practical collision attacks and are considered cryptographically broken for security-sensitive uses like password storage or digital signatures. They're provided here mainly for checksums and compatibility with legacy systems — for anything security-related, use SHA-256 or SHA-512 instead.

FAQ

Are MD5 and SHA-1 still usable?

They have known, practical collision attacks and shouldn't be used for passwords or digital signatures. They're still commonly used for non-security purposes like file checksums, deduplication, and legacy compatibility.

Why does the same text always produce the same hash?

Hash functions are deterministic: identical input (including case, whitespace, and line breaks) always produces identical output. Any tiny difference produces a completely different hash.

Does this tool send my text to a server?

No. All hashing happens locally in your browser — MD5 is a pure JavaScript implementation, and the others use the browser's built-in Web Crypto API. There are no network requests.