SECURITY WORKSPACE

HMAC Generator

Generate an HMAC-SHA256 or SHA512 digest from a message and test key.

Input is processed on this site only when you run the tool. The application does not save inputs or results.

Use a test key. Message and key are sent to this server. Generation does not verify a webhook signature.

WORKBENCH hmac-generator Server

message.txt

Ln 1, Col 1UTF-8 bytes1 line

key.txt

Ln 1, Col 1UTF-8 bytes1 line

Result result.txt

A little clarity goes here.

Run the tool to see your result.

Awaiting a resultTEXT
Ctrl ↵

Ready. Run explicitly; typing and pasting do not send requests.

UTF-8 text, at most 65536 bytes per input. Tab leaves the editor. Plain text disables syntax colors. Browser textareas may normalize line endings to LF.

A QUICK WALKTHROUGH

A familiar workflow,
with room to focus.

When to use HMAC Generator

Reproduce a message authentication digest with a fictional key while developing a signed API integration.

Read the result

The output is a digest of the exact supplied UTF-8 message and key. Both go to the server. A generated digest alone does not verify a webhook, prevent replays or authenticate a user.

SEE IT IN PRACTICE

Worked examples

Sample input. A result you can inspect.

Generate example

Message

what do ya want for nothing?

Secret key (single line)

Jefe
Algorithm
SHA-256
Representation
Hexadecimal

Expected result

5bdcc146bf60754e6a042426089575c75a003f089d2739839dec58b964ec3843

Formats, limits and common errors

Supply a nonempty single-line key. Match the message, key encoding, algorithm and output representation required by your integration.

PHP HMAC calculation ↗ (opens in a new tab)

Find your tool

Use Tab or arrow keys to navigate

JSON Formatter & ValidatorJSONJSON MinifierJSONJSON CompareJSONURL Encoder / DecoderEncodingBase64 Encoder / DecoderEncodingHTML Entity Encoder / DecoderEncodingJWT DecoderSecurityHash GeneratorSecurityPassword GeneratorSecurityToken GeneratorSecurityWord & Character CounterTextUUID GeneratorUtilitiesUnix Timestamp ConverterUtilitiesXML to JSONJSONBcrypt Hash & VerifySecurityRegex TesterTextJSON to CSVJSONCSV to JSONJSONJSON Tree ViewerJSONCode & Text CompareTextURL ParserUtilitiesCron ExplainerUtilitiesColor ConverterUtilitiesJSONL ValidatorAI DevelopmentJSONL FormatterAI DevelopmentPrompt Template BuilderAI DevelopmentToken Count EstimatorAI DevelopmentText ChunkerAI DevelopmentRAG Chunking PreviewAI DevelopmentChat Messages JSON ValidatorAI DevelopmentAI Function / Tool Schema ValidatorAI DevelopmentPrompt Version ComparisonAI DevelopmentAI Request Payload FormatterAI DevelopmentJSON String Escape / UnescapeEncodingHMAC GeneratorSecurityQuery String ↔ JSONUtilitiesCSS Clamp GeneratorUtilities