← Back to tools

Hash Generator (SHA-256 / SHA-1)

Generate common text hashes including SHA-256 and SHA-1.

MD5 is intentionally not provided because Web Crypto API does not support MD5.

Overview

Generate SHA-1 and SHA-256 hashes from text using the browser's Web Crypto API. Useful for checksums, file-content comparison keys, and learning how hash functions behave.

How to use

  1. Paste or type the source text.
  2. Choose SHA-1 or SHA-256.
  3. Generate the hash and copy the hexadecimal result.

Examples

Notes

FAQ

Why is there no MD5 option?
The browser's Web Crypto API intentionally omits MD5 because it is cryptographically broken. Use SHA-256 instead.
Can I hash passwords with this?
Plain SHA hashes are not suitable for password storage. Use a dedicated algorithm like bcrypt, scrypt, or Argon2.
Is my text uploaded?
No. Hashes are computed locally with the Web Crypto API.

Embed this tool

Paste this iframe into any HTML page to embed Hash Generator (SHA-256 / SHA-1) on your site:

Related Tools