Hash Generator (MD5 / SHA)
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or files. All computation happens in your browser — nothing is uploaded.
Advertisement
Enter Text to Hash
Upload File to Hash
Hash Results — All Algorithms
Advertisement
About Hash Functions
A cryptographic hash function takes an input (text or file) and produces a fixed-size string of characters — the "hash" or "digest". The same input always produces the same hash, but even a tiny change in input produces a completely different hash.
Supported Algorithms
- MD5 (128-bit) — Fast but cryptographically broken. Suitable for checksums, not security.
- SHA-1 (160-bit) — Deprecated for security use. Still used for Git commit IDs.
- SHA-256 (256-bit) — The current standard. Used in TLS, Bitcoin, code signing.
- SHA-384 (384-bit) — A truncated variant of SHA-512. Used in TLS 1.2.
- SHA-512 (512-bit) — Strongest of the SHA-2 family. Used where maximum security is needed.
Common Use Cases
- Verifying file integrity after download (compare hash with the publisher's hash).
- Storing passwords securely (with proper salting and a slow algorithm like bcrypt).
- Digital signatures and certificates (SHA-256 or SHA-384).
- Deduplication — detecting duplicate files by comparing hashes.
- Data fingerprinting in blockchain and distributed systems.
Security Note
MD5 and SHA-1 are considered cryptographically broken and should not be used for security-critical applications such as digital signatures or password hashing. Use SHA-256 or stronger for all new security applications.