# HMAC Generator Compute an HMAC signature from a message and a secret key using the browser's native Web Crypto — SHA-256, 384, 512 or 1, in hex or Base64. The key and message never leave your device. ### How it works An **HMAC** (hash-based message authentication code) proves a message hasn't been tampered with by anyone who doesn't hold the shared secret key. This tool uses the browser's native **Web Crypto** `SubtleCrypto.sign`, so the key and message stay on your device. The same key + message + hash always produce the same code, which is how you verify signatures generated by other systems. ## Related tools - [AES Encryption](aes-encryption.html) — Encrypt & Decrypt Text - [JWT Decoder](jwt-decoder.html) — Decode JSON Web Token Header & Payload - [Password & Passphrase Generator](password-generator.html) — Strong, Private --- *Source: [ocxly.com/hmac-generator.html](https://ocxly.com/hmac-generator.html) — OCXLY, free 100% client-side privacy-first tools. Free HMAC generator using Web Crypto — HMAC-SHA1/256/384/512 in hex or Base64, entirely in your browser.*