Hash Calculator
Compute MD5, SHA-1, SHA-256, SHA-384, SHA-512, HMAC, and file hashes - entirely in your browser.
Examples
| Algorithm | Hash (hex) |
|---|
| Algorithm | Hash (hex) |
|---|
How it works
MD5 (128-bit) - Fast and widely used, but cryptographically broken since 2004. Still useful for checksums and non-security identifiers. Implemented entirely in JavaScript.
SHA-1 (160-bit) - Deprecated for new applications; collision attacks demonstrated in 2017 (SHAttered). Only use for compatibility with legacy systems.
SHA-256 / SHA-384 / SHA-512 - Part of the SHA-2 family. SHA-256 and SHA-512 are the current standard for security applications. Computed via the browser's native WebCrypto API.
HMAC - Hash-based Message Authentication Code. Combines a secret key with your message using a hash function to produce an authentication tag. Used in JWT signing, API authentication, and data integrity verification.
File hashing - The file is read into a binary buffer using the FileReader API. The buffer is passed directly to crypto.subtle.digest(). The file never leaves your device.