Is the SHA-1 generator free?
Yes. It is completely free to use, with no signup, no account, and no paywall.
Do I need to install anything?
No. It runs in any modern browser on desktop or mobile, with nothing to download and nothing to configure.
Does it stay local?
Yes. Hashing runs entirely in your browser, so the text you hash never leaves your device.
Is SHA-1 broken, and does that matter for what I am doing?
It is broken for collision resistance, which means an attacker can construct two different inputs that hash to the same value. The SHAttered attack demonstrated this with two PDFs in 2017, and chosen-prefix collisions became affordable in 2020. Whether it matters depends entirely on your threat model. If an adversary can supply or influence the content being hashed, and a collision would let them substitute one document for another, SHA-1 is unusable. If you are only detecting accidental corruption in data nobody is attacking, it still works fine.
Why does Git still use SHA-1 if it is broken?
Because Git's use is mostly about identifying content rather than resisting a forger, and because migrating a hash function across every repository in the world is a decade-long project. Git has also hardened itself: since 2017 it ships with collision detection that recognises the SHAttered attack pattern and refuses the object. Work on a SHA-256 object format is underway. It is a good illustration that broken does not mean instantly exploitable everywhere, but it also is not a reason to choose SHA-1 for something new.
What should I use instead of SHA-1?
SHA-256 for general-purpose hashing, which is what almost everything has standardised on. SHA-384 or SHA-512 if you want a larger margin or are on 64-bit hardware where they can be faster. SHA-3 or BLAKE3 if you specifically want a different construction. For passwords, none of these on their own: use Argon2id, scrypt, bcrypt, or PBKDF2 with a salt. For message authentication, HMAC with SHA-256.
How long is a SHA-1 digest and how do I recognise one?
SHA-1 produces 160 bits, shown here as 40 hexadecimal characters. That length is the giveaway: 32 characters is MD5, 40 is SHA-1, 64 is SHA-256, and 128 is SHA-512. If you find a 40-character hex string in a legacy database or a config file, it is almost certainly a SHA-1 digest.
Is the hashing done on a server?
No. It uses your browser's native Web Crypto implementation, so the text is hashed on your machine and nothing is transmitted or stored. Note that browsers only expose crypto.subtle in a secure context, which is why the tool needs the page to be served over HTTPS.