Skip to content
Convertto

SHA-1 Hash Generator

Generate a SHA-1 hash from text — 160-bit digest, computed locally.

To generate a SHA-1 hash, paste your text above and the 160-bit digest is produced using the browser's native WebCrypto implementation. SHA-1 is deprecated for security use after practical collisions were demonstrated in 2017, but still appears in Git object IDs.

Runs in your browser
Digest size
160 bits
Inputs
Text or any file, hashed locally
Verification
Compare against a published checksum
Security
Cryptographically broken — checksums only
Privacy
Runs entirely in your browser — nothing is uploaded
Cost
Free, unlimited, no sign-up

Frequently asked questions

Why does Git use SHA-1?

Git adopted SHA-1 in 2005 for content addressing, before collisions were practical. Git has since added collision detection and is migrating to SHA-256, but existing repositories still use SHA-1 object IDs.

How do I verify a downloaded file?

Switch the input to "A file", select your download, and paste the checksum published by the source into the verify box. A match means the content is byte-identical to what they hashed; a mismatch means you should not run it.

Is my file uploaded to check it?

No. Files are read from disk and hashed in your browser, in chunks, so even very large files never leave your device.

How to use the sha-1 hash generator

  1. 1Choose the hash.
  2. 2Enter or paste your text to hash.
  3. 3Select your file — the file stays on your device and is never uploaded.
  4. 4Enter or paste your verify against (optional).
  5. 5Turn "Uppercase hex" on or off as needed.
  6. 6Press Run, then download the result when it is ready.

Embed this tool

Put the working sha-1 hash generator on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.

Share this tool

Last updated

More hash & crypto tools