HMAC Checker

Compute HMAC-SHA-256 and other signatures, and verify webhook signatures — locally in your browser.

Keys and messages are never sent to a server. Everything is computed in your browser.

Line breaks and spaces are signed as-is. Re-serializing the body with different spacing or key order breaks the signature.

What is this tool?

A free HMAC calculator and checker. Compute HMAC-SHA-1/256/384/512 with text, hex or Base64 keys, then paste a published signature to verify it instantly. Presets for LINE, GitHub and Stripe webhooks are included.

How to use

  1. Pick a preset (or Custom) and enter the key and message.
  2. The signature updates automatically — copy it in hex or Base64.
  3. Paste an expected signature to get a match/mismatch verdict.

Use cases

  • Verifying webhook signatures while developing integrations.
  • Reproducing an HMAC for debugging API authentication.
  • Testing key formats (UTF-8, hex, Base64) without writing code.

Notes

  • All computation happens locally; secrets are never transmitted.
  • SHA-1 is offered only for legacy verification — prefer SHA-256 for new integrations.

FAQ

Is my secret key safe here?

Yes. Keys and messages never leave your browser — signatures are computed locally with the Web Crypto API.

Which webhook providers are preset?

LINE Messaging API, GitHub and Stripe webhooks, each with the correct algorithm, key format and signature format preselected. A custom mode covers everything else.

Why does my signature not match?

Sign the raw request body exactly as received — re-serializing JSON with different spacing or key order produces a different signature. For Stripe, the payload is timestamp.body; the tool joins it automatically.

Related tools

Days Calculator

Calculate the number of days between two dates, or the date N days from now.

Age Calculator

Calculate exact age from a date of birth, including days lived and next birthday.

Business Days Calculator

Count business days excluding weekends and Japanese national holidays.

Character Counter

Count characters, lines, paragraphs and bytes of text in real time.

PDF Tools

Merge, extract and rotate PDF pages locally in your browser.

Markdown Editor

Write Markdown with live preview, HTML copy and .md download.

Scientific Calculator

Trigonometry, logarithms, exponents, factorials, history and memory.

Unit Converter

Convert length, weight, area, volume, temperature and data size.

Timestamp Converter

Convert between Unix timestamps, ISO 8601 and local date-times.

Percentage Calculator

Percentages, increase/decrease rates, discounts and reverse calculation.

Image Compressor

Compress JPEG, PNG and WebP images in bulk, entirely in your browser.

Image Converter

Convert between HEIC, JPEG, PNG, WebP and more without uploading files.

QR Code Generator

Create QR codes for URLs, text and Wi-Fi credentials in your browser.

Color Palette Extractor

Extract color palettes from images and copy them as CSS variables.

Hash Calculator

Compute and verify MD5, SHA-256 and other hashes for text and files.

Password Generator

Generate strong passwords, passphrases and PINs locally.

Web Page Snapshot

Save the current page as a single self-contained HTML file.

Clipboard Cleaner

Clean invisible characters, extra line breaks and width inconsistencies.

Speed Test

Measure download/upload speed and ping in your browser.

Network Diagnosis

Check connectivity, DNS, IPv6 and the node you are connected through.

JSON Formatter

Format, validate and minify JSON with precise error locations.

URL Encoder / Decoder

Encode and decode URLs and query strings, including non-ASCII text.

Regex Tester

Test regular expressions with live matches, groups and replacement.

Line of Code Counter

Count total, blank, comment and code lines of pasted source code.

DNS Lookup

Query DNS records (A, AAAA, MX, TXT and more) with TTLs, DNSSEC and ASN hints.

CSV Checker & Converter

Check CSV/TSV structure, detect encoding (UTF-8, BOM, Shift_JIS) and convert to JSON.

Text & JSON Diff Checker

Compare two texts or JSON documents and review additions, deletions and changes in your browser.