Hash Generator: MD5, SHA-1, SHA-256, SHA-384, SHA-512

Type or paste text below to get its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hash instantly. Everything is computed locally in your browser — your text is never uploaded to a server.

The hash of empty text is still valid — it's the hash of the empty string.

MD5
SHA-1
SHA-256
SHA-384
SHA-512

Frequently asked questions

Is my text uploaded to a server?

No. MD5 is computed with a self-contained JavaScript implementation, and SHA-1/SHA-256/SHA-384/SHA-512 use the browser's native Web Crypto API (crypto.subtle). Either way, everything runs 100% in your browser — your text is never sent to a server.

Are MD5 and SHA-1 safe for passwords?

No. MD5 and SHA-1 are cryptographically broken against collision attacks and shouldn't be used for passwords, digital signatures, or anything security-related. They're still fine for checksums, detecting duplicates, or verifying file integrity. For security, use SHA-256 or higher (ideally with a password-hashing algorithm like bcrypt or Argon2, not a general-purpose hash).

Why does the hash change so much when I change one letter?

That's the "avalanche effect": a hash function is designed so the smallest change to the input (one letter, one space, a line break) produces a completely different, unpredictable output. That's what makes hashes useful for detecting even the tiniest modification.

What's the difference between the algorithms?

They mainly differ in output size and collision resistance: MD5 (128 bits) and SHA-1 (160 bits) are fast but insecure; SHA-256 (256 bits) is the current standard for most use cases; SHA-384 and SHA-512 (384/512 bits) offer an extra security margin at the cost of a longer output.