Hash Generator

Compute MD5, SHA-1, and SHA-256 hashes of any text, updated as you type.

Copied

Last updated

About these hashes

A hash function turns input of any length into a fixed-length fingerprint — the same input always produces the same hash, and even a one-character change produces a completely different one. SHA-1 and SHA-256 are computed with the browser's native crypto.subtle.digest, part of the Web Crypto API, so results match any standard implementation exactly.

MD5 isn't supported by crypto.subtle — modern browsers dropped it because it's cryptographically broken — so this tool uses a small, well-tested JavaScript implementation for it instead. MD5 and SHA-1 are fine for checksums and cache keys, but neither should be relied on for security purposes like password storage or verifying that a file hasn't been tampered with by an adversary; SHA-256 is the safer choice there.

All hashing happens locally in your browser — the text you enter is never sent anywhere.