SHA-1 Hash Generator
Free online SHA-1 hash generator. Compute the SHA-1 digest of any text instantly using the Web Crypto API — everything stays in your browser.
What is SHA-1 and where does it still appear?
SHA-1 (1995) produces a 160-bit hash written as 40 hex characters. It was the internet's workhorse hash for two decades until Google demonstrated a practical collision in 2017 ('SHAttered'), after which browsers and certificate authorities dropped it for security use.
You still meet SHA-1 daily: git identifies every commit by its SHA-1 hash, and many legacy protocols and file-integrity systems keep using it. For anything security-critical, use SHA-256 instead.
How to use
- 01Type or paste the text you want to hash.
- 02Click Generate SHA-1.
- 03Toggle UPPERCASE if needed.
- 04Copy the 40-character SHA-1 digest.
Frequently asked questions
- Is SHA-1 still secure?
- SHA-1 is deprecated for cryptographic security — practical collisions were demonstrated in 2017. Use SHA-256 or SHA-512 for anything security related; SHA-1 remains fine for legacy checksums.
- How long is a SHA-1 hash?
- SHA-1 produces a 160-bit digest, displayed as 40 hexadecimal characters.
- Is the hashing done locally?
- Yes. Hashing uses your browser's built-in Web Crypto API — nothing is uploaded.