Hash Generator
Enter text or upload a file to instantly compute MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes. Use it to verify a downloaded file's checksum, or check data/password integrity. Nothing is sent to a server — everything runs in your browser.
How to use
- Text input: Paste text into the box above and all five hashes update as you type.
- File hash: Use "Open file" or drag a file onto the page to hash its raw bytes directly. Handy for checking whether a download matches the checksum published by its source.
- Check the result: MD5, SHA-1, SHA-256, SHA-384, and SHA-512 are all shown at once. Check "Uppercase" to switch the hex output to uppercase.
- Copy: Click the 📋 button next to any hash to copy just that value.
SHA hashes use the browser's built-in Web Crypto API; MD5 is a hand-rolled implementation, since Web Crypto doesn't support it. Nothing you enter is sent to a server or stored.
What is a hash?
A hash function turns input data of any length into a fixed-length digest. The same input always produces the same hash, and changing even a single character produces a completely different one. That property makes hashes useful for checksums (verifying a file wasn't corrupted in transit), verifying passwords without storing them in plaintext, and deduplication. MD5 and SHA-1 have known collisions (different inputs producing the same hash) and aren't recommended for security-sensitive uses like signatures or password storage anymore — they're still fine for non-adversarial integrity checks like file checksums.
Frequently Asked Questions
Is my text or file sent anywhere?
No. All hashing happens in JavaScript inside your browser and is never sent to a server, even for large files.
Why is MD5 still offered if it's broken?
MD5 is no longer cryptographically secure, but a lot of older file-distribution sites still publish MD5 checksums, so it's included for compatibility. For new use cases, use SHA-256 or higher.
I hashed the same file but got a different result.
If you pasted text, line-ending differences (CRLF vs. LF) or encoding differences (a UTF-8 BOM, for instance) will produce a completely different hash. To compare a file exactly, use "Open file" to upload the raw file instead of pasting its text.
Can I use this tool's hashes for password storage?
Not recommended. Real password storage should use a slow, salted algorithm designed for it — bcrypt, scrypt, or Argon2. This tool's MD5/SHA hashes are meant for checksums and integrity checks.
Does this support HMAC or file signature verification?
No, this tool only computes plain hashes. For HMAC signature verification, see the JWT Decoder & Signature Verifier tool.