How to use Hash Generator (MD5, SHA-1, SHA-256, SHA-512)
- Type or paste your text.
- Optionally enter an HMAC secret key.
- Copy the hash you need.
Supported features and limitations
Text is hashed as UTF-8. MD5 and SHA-1 are cryptographically broken, so use them only for checksums, not security. Plain fast hashes are unsuitable for storing passwords; use bcrypt, scrypt or Argon2. HMAC-MD5 is not provided.
Privacy
Everything you type is processed locally in your browser and is not sent to our servers. No account is needed and there is no watermark.
Frequently asked questions
Which hash should I use?
SHA-256 for general integrity checks; MD5 only when a legacy system requires it.
What is HMAC?
A hash combined with a secret key, used to verify both integrity and origin of a message.
Related tools
- File Checksum Calculator - Calculate the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 checksums of a file and compare it to a published checksum.
- Base64 Encoder & Decoder - Encode text to Base64 or decode Base64 back to text, with an optional URL-safe alphabet and full UTF-8 support.
- JWT Decoder - Decode a JSON Web Token to read its header, payload, issue and expiry times, entirely in your browser.
- Password Generator - Create strong random passwords in your browser.
- JSON Formatter & Validator - Format, minify and validate JSON with clear errors.
- URL Encoder / Decoder - Encode or decode URLs and query strings.