search
format_align_left
JSON Formatter CSS Formatter HTML Formatter JavaScript Formatter XML Formatter SQL Formatter Exception Formatter Markdown Preview & HTML to Markdown
data_object
JSON to Excel/CSV JSON to TypeScript, C#, Go, Java, Kotlin, Python & Dart JSON ⇄ YAML / TOML Converter JSON Diff – Compare Two JSON JSON Viewer & JSONPath Tester
table_chart
Excel/CSV to JSON Excel/CSV to SQL Excel/CSV to HTML
description
Compare text Text to Hex Text to Base64 Case Converter Regex Tester Vietnamese Accent Remover & Slug Generator Word Counter Line Tools: Remove Duplicates, Sort Lines Lorem Ipsum Generator
image
Convert Image Image to Base64 Converter Image Compressor Resize & Crop Image Favicon Generator Color Palette from Image EXIF Viewer & Remover
qr_code_2
QR Code Generator QR Code Scanner VietQR Bank Transfer QR Generator Wi-Fi QR Code Generator vCard QR Code Generator (Business Card) Barcode Generator (EAN-13, Code 128, Code 39)
lock
Convert Token Convert Hash Generate Password HMAC Generator (SHA-256, SHA-512) AES Encrypt / Decrypt Online Bcrypt Hash Generator & Checker
schedule
Convert datetime Timezone Info Vietnamese Lunar Calendar Converter Date Calculator Cron Expression Parser Countdown Timer
link
Encode and Decode URLs Shorten URL URL Parser & UTM Builder HTTP Header Checker
storage
Statistics Parser Statistics Compare SQL INSERT to JSON Converter SQL Table to C# / TypeScript / Java Class
travel_explore
Create Sitemap robots.txt Generator Meta Tag Generator Open Graph Preview
terminal
Number Base Converter UUID / ULID / NanoID Generator Chmod Calculator HTTP Status Codes
palette
Color Picker
help_outline
About UsPrivacy PolicyTerms of Service
THUTOOL
search

HMAC Generator (SHA-256, SHA-512)

🔒 Processed 100% in your browser – your data never leaves your device
HMAC

How to generate an HMAC

  1. Paste the message (for example the raw body of a webhook request).
  2. Enter the secret key and choose whether it is plain text, hex or Base64.
  3. Pick the algorithm: HMAC-SHA256 is the most common; SHA-1, SHA-384 and SHA-512 are also available.
  4. The HMAC updates as you type. Switch the output between hex and Base64 and copy it.

Example: message The quick brown fox jumps over the lazy dog, key key, HMAC-SHA256 = f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8.

FAQ

Why doesn't my result match the server? Check that the message is byte-for-byte identical (spaces, line breaks, JSON key order) and that the key format is right: many services give a hex or Base64 secret.

Is HMAC the same as a hash? No. A hash (SHA-256) can be computed by anyone; an HMAC needs the secret key, so it proves the message came from someone who knows the key.

Is my key safe? The calculation uses the browser's Web Crypto API and nothing is sent to a server. The key is only remembered if you tick the option at the top.

Related tools

  • Convert TokenCreate an XML sitemap by crawling your site or from an Excel/CSV list, with lastmod, hreflang and sitemap index for 50,000+ URLs.
  • Convert HashHash text or files with MD5, SHA-1, SHA-256, SHA-3, BLAKE3 and compare against a checksum. Files are hashed locally, never uploaded.
  • Generate PasswordGenerate strong random passwords or passphrases, see entropy and strength, and create up to 50 at once. Runs in your browser.
  • AES Encrypt / Decrypt OnlineEncrypt and decrypt text with AES-256-GCM or AES-CBC using a password (PBKDF2). Base64 output, processed entirely in your browser with Web Crypto.
  • Bcrypt Hash Generator & CheckerGenerate bcrypt hashes with cost 4–14 and check whether a password matches a hash. Runs in your browser, so passwords never leave your device.
  • URL Parser & UTM BuilderSplit a URL into protocol, host, port, path, query parameters and hash; edit parameters, rebuild the URL and add UTM tags. Runs in your browser.
@Made by THUTOOL