Hash Calculator
Calculate SHA-256 hashes of text, files or decoded bytes locally, then copy or export the result.
Generate and verify SHA-1 or SHA-2 HMAC codes from a message and key in your browser — free, with no sign-up, and your message and key never leave your device. Enter the message and key, choose SHA-1 or SHA-2, then copy the code or compare it with an expected HMAC.
Empty input is valid. Spaces and Unicode are preserved; no BOM is added.
The empty key is valid. Up to 65,536 decoded bytes; the key is never saved or exported.
Results
Choose Calculate to get a hash of your input.
Enter an expected value to compare.
Text, files, keys and hashes stay in this tab. Nothing you enter is uploaded or saved.
HMAC-SHA256 produces 32 bytes: 64 hexadecimal characters. Base64 represents the same digest bytes. Choose one SHA-1/SHA-2 algorithm and encode the key as UTF-8, Hex, Base64 or Base64url. Empty key and payload are valid. The key is not a salt or a prefix; HMAC alone does not prevent replay.
Input source: Text / Files / Encoded bytes. Empty input is valid. Spaces and Unicode are preserved; no BOM is added. Text encoding: UTF-8, UTF-16LE, UTF-16BE; Line endings: LF / CRLF. Any file type is accepted. The original bytes are hashed, not extracted document text or the filename. Files are processed one at a time in 1 MiB chunks.
Select the expected algorithm and encoding explicitly. Comparison uses decoded bytes and checks the exact length. Changing output format or expected value does not reread a file.
Text, files, keys and hashes stay in this tab. Nothing you enter is uploaded or saved.
Yes. This tool is free, with no sign-up and no daily limits.
No. You can use this tool without an account.
Calculate SHA-256 hashes of text, files or decoded bytes locally, then copy or export the result.
Calculate MD5 hashes of text, files or decoded bytes locally, then copy or export the result.
Calculate SHA-1 hashes of text, files or decoded bytes locally, then copy or export the result.