security
Fast & Private
100% In-Browser Execution

Hash Generator

Compute cryptographic hashes (SHA-1, SHA-256, SHA-384, SHA-512) for text and local files using the native Web Crypto API. Includes educational notes on safe password hashing practices.

Select Algorithm:
Quick Select:
38 chars • 40 bytes
SHA-256
256-bit
High

Computing...

SHA-512
512-bit
High

Computing...

MD5
128-bit
Insecure (Checksum Only)

Computing...

SHA-1
160-bit
Legacy

Computing...

SHA-384
384-bit
High

Computing...

CRC-32
32-bit
Insecure (Checksum Only)

Computing...

Optional Verification

Security Advisory: SHA algorithms (SHA-256, SHA-512) and checksums (MD5, CRC-32) are fast digests engineered for message integrity, file checksums, and git commits. They are NOT suitable for password storage because high-speed GPUs can test billions of fast hashes per second. For passwords, always utilize slow, salted key-derivation algorithms such as Argon2id, bcrypt, or PBKDF2.

Quick Usage Guide & Examples(Click to toggle reference)
How to Use
  1. Select your target algorithm (SHA-256, SHA-512, MD5, SHA-1, SHA-384, CRC-32, or Compare All) using the dropdown or quick-select pills.
  2. Select 'Text Hashing' to hash string inputs in real-time as you type, or 'File Hashing' to calculate checksums directly in browser memory.
  3. Toggle 'Uppercase Hex' if your verification workflow expects capitalized hexadecimal strings.
  4. Use the 'Integrity Checksum Matcher' to paste an expected hash and verify exact matches in real time.
  5. When a single SHA algorithm is selected, toggle 'Keyed HMAC Mode' to compute cryptographic HMAC signatures with a secret key.
  6. Click 'Copy Hash' on any algorithm to instantly copy the hex digest to your clipboard.
Examples

SHA-256 Hash of 'DevToolsHub'

Input
DevToolsHub
Output
SHA-256: 2b3d73ec5437a40214ae9a9ce44194353278c695edf7d33a39eb77da6499c48c

MD5 Hash of 'DevToolsHub'

Input
DevToolsHub
Output
MD5: 3500c827000bded5b76acb2edfb42fb2

Related Utilities

Discover other in-browser tools frequently used alongside this utility.

All tools