Security

Hash / HMAC Generator

Use this generator to compare message digests, create test vectors, or calculate an HMAC for local API development with modern SHA algorithms.

Your data never leaves this browser
Local only

Uses the browser Web Crypto API. Empty text is a valid hash input.

Digest output

Ready
Your result will appear here.
What this tool does

A focused browser utility

Use this generator to compare message digests, create test vectors, or calculate an HMAC for local API development with modern SHA algorithms.

Built for privacy

Local by default

This tool runs entirely in your browser. There is no account, server-side processing, or input history.

How to use

Three quick steps

  1. Enter the message text and choose a supported SHA algorithm.
  2. Select Hash or HMAC; for HMAC, also enter the secret key.
  3. Choose hexadecimal or Base64 output, generate the value, and copy it.
Example

Input and output

Input

Message: "hello"
Algorithm: SHA-256
Output: Hex

Output

2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
Common questions

Frequently asked questions

What is the difference between a hash and an HMAC?

A hash uses only the message. An HMAC combines the message with a secret key so a recipient with that key can check authenticity.

Why are MD5 and SHA-1 not available?

They are omitted because modern security-sensitive workflows should use stronger SHA-2 algorithms such as SHA-256 or above.

Is my HMAC secret uploaded?

No. The message and key are processed by the browser's Web Crypto API and are not sent to this site's server.

Keep working