SHA-1 Hash Generator
Get the SHA-1 hash of any text. SHA-1 is still used by Git and older systems, but it is no longer safe against deliberate collisions.
How to get a SHA-1 hash
Paste your text
Paste or type it into the box, or press Try an example.
Choose the format
Hex or Base64, upper or lower case.
Copy or download
Use it to compare files or text. SHA-1 is not safe for new security work.
Worked example
This is what SHA-1 Hash Generator gives for its own sample values. Open the tool above and change anything to try your own.
Text to hash
Hello, Sarva!
- Write the hash as
- Hex (lower case)
- Hash each line separately
- No
SHA-1
17dc526e7b153760343faf1ba16fbe8665778aa8
About SHA-1 Hash Generator
Get the SHA-1 hash of any text. SHA-1 is still used by Git and some older systems, but deliberate collisions have been shown, so it should not be used for new security work.
FAQs
Does Git still use SHA-1?
Git identifies objects with SHA-1 and is moving to SHA-256.
Is SHA-1 safe for passwords?
No. Use a slow password hash such as bcrypt or Argon2 on a server.
What is stronger?
SHA-256 Hash Generator and SHA-512 Hash Generator.