Hash Generator
Calculate SHA-256, SHA-512, SHA-1, SHA-384, MD5 checksums and keyed HMAC hash signatures locally.
How to Use Hash Generator
- 1Step 1
Type or paste text into the input field, or drag and drop any file to compute its checksum.
- 2Step 2
Inspect simultaneous live digests across SHA-256, SHA-512, SHA-1, SHA-384, and MD5.
- 3Step 3
Switch to HMAC mode and enter a secret key to compute keyed cryptographic signatures.
- 4Step 4
Click the Copy button next to any hash value to copy the hexadecimal digest.
Technical Specification & Client Security
Cryptographic hash functions (SHA-1, SHA-256, SHA-384, SHA-512) and HMAC signatures execute natively via the browser's Web Cryptography API (SubtleCrypto). MD5 is calculated in-browser for legacy verification. No files or text ever leave your device.
Input & Output Transformation Examples
hello world
b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9
Message: 'api_payload' | Secret Key: 'secret123'
HMAC-SHA256: 7b3fb5ef0c653063f6a27e7f91ff360bc9f3bb9921b790d0b04c8f2c3fa50074
Frequently Asked Questions
Are files uploaded to any server when calculating checksums?
No. Files are read in local chunks using the browser's native FileReader API and fed directly into Web Cryptography streams. Nothing is uploaded.
Why is MD5 marked as legacy?
MD5 has well-known collision vulnerabilities and should not be used for security purposes or digital signatures. It is provided here strictly for legacy file integrity verification.
Can I toggle uppercase and lowercase hexadecimal output?
Yes. An uppercase/lowercase switch allows you to copy hashes in either format.