About the SHA-1 Hash Generator
SHA-1 produces a 160-bit hash, written as 40 hexadecimal characters. It is still found in older systems and in Git object IDs, but it is no longer considered secure: practical collision attacks have been demonstrated. Use it for compatibility, and SHA-256 for anything new.
The hash is computed with your browser’s built-in Web Crypto API.
How to use the SHA-1 Hash Generator
- Type or paste the text.
- Copy the 40-character hash.
Example
Known value
SHA-1 of “Hello, World!” is 0a0a9f2a6772942557ab5355d76af442f8f65e01.
Frequently asked questions
Is SHA-1 safe for passwords?
No. Like all fast hashes it is unsuitable for passwords, and it is also vulnerable to collisions.
Where is SHA-1 still used?
Legacy integrity checks, some older APIs, and Git, which is migrating to SHA-256.
Does it hash files?
This tool hashes the text you enter.