Hash Generator (MD5, SHA-1, SHA-256)
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text or a file — 100% in your browser.
Enter text to see its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes.
About Hash Generator (MD5, SHA-1, SHA-256)
Type or paste text and its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes are computed instantly, each with a copy button and an optional uppercase view. You can also pick a file to get its checksums — useful for verifying downloads.
SHA hashes use the browser's built-in Web Crypto API and MD5 is computed locally in JavaScript, so nothing you enter is ever uploaded. Note that MD5 and SHA-1 are considered cryptographically broken and should be used only for checksums or compatibility, not for security.
How to use Hash Generator
- Enter text or choose a file, then select the digest algorithm required by the software publishing the expected checksum.
- Compare the entire output with the expected digest; a single changed byte should produce a different result.
Limitations and common mistakes
A checksum is only as trustworthy as its source. Downloading a file and its expected hash from the same compromised location does not independently authenticate it.
MD5 and SHA-1 are unsuitable for collision-resistant security uses. General-purpose fast hashes are not password-storage algorithms; use a password-hashing function for that task.
The tool processes its input locally on your device. Read our privacy policy for analytics, storage and network details.
Hash a string
abc
MD5: 900150983cd24fb0d6963f7d28e17f72 · SHA-256: ba7816bf8f01cfea…b410ff61f20015ad
Hashes update live as you type; use the file picker to checksum a download.
Frequently asked questions
Which hash algorithms are supported?
MD5, SHA-1, SHA-256, SHA-384 and SHA-512, for both text and files.
Is my text or file uploaded?
No. SHA hashing uses the browser's Web Crypto API and MD5 runs in local JavaScript, so your data never leaves your device.
Should I use MD5 or SHA-1 for security?
No. MD5 and SHA-1 are cryptographically broken and only suitable for non-security checksums or legacy compatibility. Use SHA-256 or stronger for security.
Can I hash a file to verify a download?
Yes. Use the “Hash a file” picker to compute a file's checksums and compare them with the value published by the source.
For related tasks, explore Password Generator and Base64 Encode / Decode. Their guides explain the different inputs, assumptions and output formats.