Hash Generator (SHA-256, SHA-512, MD5)
Generate cryptographic hashes online. Compute MD5, SHA-1, SHA-256, and SHA-512 hashes from any text string directly in your browser.
Hash will appear here after clicking Hash
What does this tool do?
The Hash Generator computes cryptographic hash values for any input text. It supports MD5, SHA-1, SHA-256, and SHA-512 algorithms. SHA algorithms use the browser’s native Web Crypto API for accuracy and performance.
How to use this tool
- Enter your text in the input area
- Select the hashing algorithm
- Click Hash to compute the hash
- Copy the hex-encoded hash with the Copy button
Supported algorithms
| Algorithm | Output length | Use case |
|---|---|---|
| MD5 | 128-bit (32 hex chars) | Checksums, legacy systems |
| SHA-1 | 160-bit (40 hex chars) | Git commit hashes, legacy |
| SHA-256 | 256-bit (64 hex chars) | Most common, secure |
| SHA-512 | 512-bit (128 hex chars) | High-security applications |
Common use cases
- Verifying file integrity by comparing checksums
- Generating deterministic identifiers from strings
- Password hashing for comparison (use bcrypt in production)
- Generating checksums for API request signatures
- Debugging HMAC or signature verification issues
- Learning about cryptographic hash functions
Security note
MD5 and SHA-1 are cryptographically broken and should not be used for security-sensitive purposes. Use SHA-256 or SHA-512 for security applications.
Privacy
All processing happens in your browser. Nothing is transmitted.