Hash Generator
Enter text to hash
0 characters
| MD5 | Click Generate to compute hash |
| SHA-1 | Click Generate to compute hash |
| SHA-256 | Click Generate to compute hash |
| SHA-384 | Click Generate to compute hash |
| SHA-512 | Click Generate to compute hash |
Hash a File
Drop a file to compute its hash. Useful for verifying file integrity.
+
Click to select or drag and drop a file here
Any file type, up to 50MB
Frequently Asked Questions
What is a hash function?
A hash function takes any input (text or file) and produces a fixed-length string called a digest or hash. Even a tiny change in the input produces a completely different hash. Hash functions are one-way - you cannot reverse a hash back to the original input.
What is the difference between MD5 and SHA-256?
MD5 produces 128-bit (32 character) hashes and is fast but considered cryptographically broken - it is vulnerable to collision attacks. SHA-256 produces 256-bit (64 character) hashes and is currently secure. For security-critical applications, use SHA-256 or higher.
When would I use a hash?
Hashes are used for: verifying file integrity (checksums), storing passwords securely (with salt), checking data integrity during transfer, generating unique identifiers, digital signatures, and blockchain technology.
Is my data safe when hashing online?
Yes. This tool processes everything in your browser using JavaScript. No data is sent to any server. Your text or file never leaves your device. For maximum security, you can also save this page and use it offline.