#️⃣ SHA-1 Hash Generator
Get the 40-character SHA-1 digest still used by Git object IDs and legacy checksums.
🔒 Runs in your browser · files never uploaded
Drop a file here or click to browse Hash any file (checksums for downloads, ISOs, installers). The file is read locally and never uploaded.
How to use the SHA-1 Hash Generator tool
- Type text or drop a file.
- Copy the SHA-1 shown first.
- Paste an expected value to verify it.
Frequently asked questions
Is this the same as a Git commit hash?
Not directly. Git hashes "blob <size>\0" followed by the content, so hashing a file here gives a different value than git hash-object. The algorithm (SHA-1) is the same.
Is SHA-1 broken?
For collision resistance, yes – the 2017 SHAttered attack produced two different PDFs with the same SHA-1. Do not use it for signatures or certificates; it is still fine for detecting accidental corruption.
How long is a SHA-1 hash?
160 bits, displayed as 40 hexadecimal characters.