Hash Generator
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes from any text, entirely in your browser.
All hashes are computed entirely in your browser using the Web Crypto API (plus a small local MD5 implementation) — your text is never sent to a server.
How the Hash Generator works
Type or paste any text and it's instantly run through four hash algorithms — MD5, SHA-1, SHA-256, and SHA-512 — each producing a fixed-length hexadecimal string unique to that exact input.
Changing even a single character in the input completely changes every hash, which is what makes hashes useful for verifying that a piece of text or a file hasn't been altered.
Frequently asked questions
Which hash algorithm should I use?
For anything security-related — passwords, file integrity checks, digital signatures — use SHA-256 or SHA-512. MD5 and SHA-1 are considered cryptographically broken and are only still useful for quick, non-security checksums, like spotting accidental file corruption.
Why is MD5 still included if it's broken?
MD5 is 'broken' in the sense that it's computationally feasible to deliberately create two different inputs with the same hash (a collision), which makes it unsafe for security purposes like verifying a file hasn't been tampered with. It's still common in legacy systems and non-security checksums, which is why it's included here.
Is my text sent to a server to be hashed?
No — SHA-1, SHA-256, and SHA-512 are computed using your browser's built-in Web Crypto API, and MD5 uses a small local implementation. Nothing you type ever leaves your browser.