Security

HMAC Generator

Generate HMAC values with SHA-256, SHA-384 or SHA-512 directly in your browser.

Tool

HMAC Generator

Generate HMAC values with SHA-256, SHA-384 or SHA-512 directly in your browser.

This tool runs in your browser. Your input is processed locally and is not uploaded.

About this Tool

Use this HMAC generator to test webhook signatures, API authentication and message integrity logic. Choose the hash algorithm and input encoding, then compare the generated value with your expected signature.

Examples

  • Generate HMAC-SHA256
  • Verify a webhook signature fixture
  • Create a Base64 HMAC

Frequently Asked Questions

What is an HMAC?

An HMAC combines a cryptographic hash function with a secret key to authenticate data and verify its integrity.

What is the difference between a hash and an HMAC?

A normal hash uses only the message, while an HMAC also requires a secret key.

Which HMAC algorithm should I use?

HMAC-SHA256 is widely supported and suitable for most modern integrations unless a protocol requires another option.

Related Tools