HMAC Generator

HMAC-SHA256 / SHA1 signature generator

Secret Key
Message Content

HMAC Generator Guide

Key Features

  • Multi-Algorithm - HMAC-SHA256, SHA1, SHA512, MD5
  • Input Encodings - UTF-8, Base64, Hex message input
  • Flexible Output - Hex and Base64 output formats
  • Batch Mode - Compute HMAC for multiple messages at once

Use Cases

  • API request signing and verification
  • Webhook message integrity verification
  • JWT signature computation
  • Data tamper-proof verification

Tips

  • All computation is done locally in your browser
  • Use uppercase output for capital hex results
  • In batch mode, enter one message per line
  • Click the copy button to quickly copy results
What is HMAC?

HMAC (Hash-based Message Authentication Code) is a message authentication code based on hash functions. It combines a cryptographic hash function (like SHA-256) with a secret key to verify message integrity and authenticity. HMAC is widely used for API signing, Webhook verification, JWT, and other security-critical scenarios.

常见问题

相关工具