Hash Generator

Encoding & Decoding

Calculate SHA-256, SHA-512, SHA-1, SHA-384, MD5 checksums and keyed HMAC hash signatures locally.

Input Plaintext or Drag & Drop File

How to Use Hash Generator

  1. 1Step 1

    Type or paste text into the input field, or drag and drop any file to compute its checksum.

  2. 2Step 2

    Inspect simultaneous live digests across SHA-256, SHA-512, SHA-1, SHA-384, and MD5.

  3. 3Step 3

    Switch to HMAC mode and enter a secret key to compute keyed cryptographic signatures.

  4. 4Step 4

    Click the Copy button next to any hash value to copy the hexadecimal digest.

Technical Specification & Client Security

Cryptographic hash functions (SHA-1, SHA-256, SHA-384, SHA-512) and HMAC signatures execute natively via the browser's Web Cryptography API (SubtleCrypto). MD5 is calculated in-browser for legacy verification. No files or text ever leave your device.

›100% Client-side execution without server round-trips
›Instant real-time output updates as you type
›One-click copy and clear buttons with verified confirmation toast
›Zero data telemetry or external network calls
›Accessible keyboard navigation and mobile-first responsive design
›Browser-native execution in local memory

Input & Output Transformation Examples

SHA-256 Checksum of Plaintext
Input:
hello world
Output:
b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9
Keyed HMAC-SHA256 Signature
Input:
Message: 'api_payload' | Secret Key: 'secret123'
Output:
HMAC-SHA256: 7b3fb5ef0c653063f6a27e7f91ff360bc9f3bb9921b790d0b04c8f2c3fa50074

Frequently Asked Questions

Are files uploaded to any server when calculating checksums?

No. Files are read in local chunks using the browser's native FileReader API and fed directly into Web Cryptography streams. Nothing is uploaded.

Why is MD5 marked as legacy?

MD5 has well-known collision vulnerabilities and should not be used for security purposes or digital signatures. It is provided here strictly for legacy file integrity verification.

Can I toggle uppercase and lowercase hexadecimal output?

Yes. An uppercase/lowercase switch allows you to copy hashes in either format.

Related Developer Utilities