Tool collection

Hash Calculator

Regular Hash:
HMAC:
Tip: HMAC uses a key to sign messages; the same key + same text is required to get the same result.
1
1
Input Character Count
0
Input Byte Count (UTF-8)
0
Algorithms Calculated
0
Calculation Time
0 ms
Tool Description

This tool is an online Hash calculator supporting MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 and other mainstream hash algorithms, as well as HMAC-MD5/SHA1/SHA256/SHA384/SHA512 message authentication code algorithms. All calculations are performed locally in your browser.

What is HMAC?

HMAC (Hash-based Message Authentication Code) is a technique that uses a key to authenticate messages. It verifies not only message integrity but also message origin. Formula: HMAC(K, m) = H((K ⊕ opad) || H((K ⊕ ipad) || m)). Widely used in API signing, JWT signing, payment callback verification, and other scenarios.

Tool Features
  • 11 algorithms available: Supports MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, and HMAC-MD5/SHA1/SHA256/SHA384/SHA512.
  • SHA-224 and HMAC-MD5 are implemented in native JS, with no dependency on browser Web Crypto API support.
  • HMAC key input: The key input box automatically appears when selecting HMAC algorithms, convenient for API signature debugging.
  • Real-time calculation: Automatically calculates hash values as you type (can be disabled).
  • Quick copy: Provides individual copy buttons for each algorithm's result.
  • Pure front-end implementation: All algorithms run locally in the browser, no data uploaded.