StacckApp

Hash Generator (MD5, SHA-1, SHA-256, SHA-512, HMAC)

Free online hash generator. Computes MD5, SHA-1, SHA-256, SHA-512 and HMAC-SHA-256 for any input. 100% in your browser using the Web Crypto API.

Input

Type or paste input to hash, or

MD5
SHA-1
SHA-256
SHA-512
HMAC-SHA-256 (key: <empty>)

About Hash Generator (MD5, SHA-1, SHA-256, SHA-512, HMAC)

Type or paste any text and the tool computes its MD5, SHA-1, SHA-256, and SHA-512 digests at once. For HMAC-SHA-256 you also supply a secret key, and the keyed hash updates as you edit either field. Each digest is shown in hexadecimal and can be copied individually.

Hashing uses the browser's Web Crypto API where available, so your input stays on your device. Hashes are useful for verifying file integrity, comparing values without storing the original, or generating a fingerprint of a piece of data.

Frequently asked questions

Should I use MD5 or SHA-1 for security?
No. MD5 and SHA-1 are considered broken for security purposes; use SHA-256 or SHA-512 instead. They remain fine for non-security checksums.
What does HMAC add over a plain hash?
HMAC combines the input with a secret key, so it can confirm both integrity and that the value came from someone holding the key.
Can I hash a file?
This tool hashes text input. For file checksums you would hash the file's contents through a dedicated file hashing tool.