100% local and secure
Your data stays on your device and is never sent to our servers.
Create an HMAC from text and a secret key, then compare it with an expected value without uploading your data.
Generate an HMAC to authenticate a message with a secret key. Processing stays in your browser.
Your data stays on your device and is never sent to our servers.
Generate or verify sensitive data with clear and immediate controls.
Strings, keys, hashes, and technical formats depending on the security function.
Get a clean, ready-to-use result in seconds without installing software or configuring a complex workflow.
Fonctionnement
The tool imports the secret key into Web Crypto and signs the message with HMAC using SHA-256, SHA-384 or SHA-512. The result is displayed as hexadecimal text. When an expected value is supplied, the two values are compared locally.
Calculate the expected HMAC while testing webhook or API signatures without exposing the secret.
Compare a received HMAC with a locally recalculated value using the same message and key.
Reuse the HMAC output in encoding, validation or data preparation pipelines.
Guide
Enter the content to authenticate.
Enter the secret key and select the algorithm.
Calculate the HMAC and optionally compare it with an expected value.
Input
message + secret keyResult
hexadecimal HMACHMAC combines hashing with a secret key, providing message authentication as well as integrity checking.
No. The message and secret key are processed locally with Web Crypto.
SHA-256 fits most modern uses, while SHA-384 and SHA-512 produce longer values.
Distinguish hashing from encryption and encoding, understand SHA-256 and SHA-3, collisions and the limits of a hash without authentication.
Learn what a JWT contains, why decoding is not verification, how claims such as exp, nbf, iss and aud work, and common security mistakes.
Understand how SRI hashes help detect unexpected changes to static third-party scripts and stylesheets, and where SRI does not apply.
Understand the layers that protect a website: HTTPS, HTTP security headers, CSP, SRI, authentication, passwords and integrity.
Recommended workflow
Discover tools that naturally fit before, after, or alongside this one.
Generate a text hash using several common hashing algorithms.
Generate a Subresource Integrity hash for a file or pasted content.
Compare two hashes or checksums to immediately verify whether they match exactly.