SHA-256 / SHA-1 Hash Generator

Generate SHA-256 or SHA-1 hash from any text. Uses the Web Crypto API. All processing in your browser.

Hash Output:

 

What are SHA-256 and SHA-1?

SHA (Secure Hash Algorithm) produces a fixed-size hash from any input. SHA-256 outputs 64 hex characters; SHA-1 outputs 40. Both are one-wayโ€”you cannot reverse the hash to get the original input.

What is it used for?

  • File verification: Check downloads, integrity of backups
  • Digital signatures: SHA-256 is used in TLS/SSL certificates
  • Git: Commit IDs use SHA-1
  • Blockchain: SHA-256 is used in Bitcoin

How it works

Uses the Web Crypto API in your browser. No data is sent to any server. SHA-256 is recommended; SHA-1 is deprecated for security but still used in legacy systems.