Hash Generator
Type or paste text below to instantly generate MD5, SHA-1, and SHA-256 hashes — useful for checksums, cache keys, and verifying data integrity.
How to use
- 1
Type or paste your text
Enter any text you want to hash into the box above.
- 2
View the hashes
MD5, SHA-1, and SHA-256 hashes update instantly as you type.
- 3
Copy the one you need
Click Copy next to any hash to copy it to your clipboard.
Examples
- "hello" → MD5: 5d41402abc4b2a76b9719d911017c592
- "" (empty string) → SHA-256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Frequently asked questions
Which hash algorithm should I use?
SHA-256 is the strongest and recommended choice for security-sensitive use cases. SHA-1 and especially MD5 are considered cryptographically broken and shouldn't be used for security purposes, but they're still common for checksums and legacy system compatibility.
How are SHA-1 and SHA-256 computed?
They're computed using the browser's built-in Web Crypto API (crypto.subtle.digest), the same secure, standards-based implementation used by web applications.
Why isn't MD5 part of the Web Crypto API?
MD5 is considered insecure and was excluded when the Web Crypto API was standardized. This tool includes a pure JavaScript MD5 implementation purely for legacy compatibility and checksum use, not for security purposes.
Is my text sent anywhere?
No. All hashing happens locally in your browser. Nothing is sent to a server or stored.