Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes from text or files β instantly in your browser.
About Hash Functions
A cryptographic hash function takes any input and produces a fixed-length string called a hash or digest. The same input always produces the same hash, but any change to the input β even a single character β produces a completely different hash. This makes hashes useful for verifying file integrity, storing passwords (in salted form), and creating checksums.
MD5 (128-bit) and SHA-1 (160-bit) are fast but considered cryptographically broken for security purposes β only use them for checksums and non-security use cases. SHA-256 and SHA-512 are from the SHA-2 family and remain secure. This tool uses the browser's native crypto.subtle API. Your text and files never leave your browser.
How to Use
- Type or paste text into the input box β all hashes update instantly.
- Click π Hash a file to generate hashes from a local file.
- Click any hash value to copy it to your clipboard.
- Paste a known hash into the Verify hash field to check if it matches.
- Toggle UPPERCASE to switch between upper and lower case output.
Frequently Asked Questions
crypto.subtle API. Your text and files are never sent to any server, never logged, and never stored.