Enter text to generate a SHA-1 hash online: you get 40 hex characters suitable for legacy checksums or learning. Compare SHA-1 digests the same way you would compare other hex hashes.
Input
SHA-1
Related tools
How it works
Your input is UTF-8 encoded and hashed with SHA-1; the hex string updates as you type for quick SHA-1 comparisons.
SHA-1 produces 160 bits, shown as 40 hexadecimal characters.
What is SHA-1?
SHA-1 is a hash function from the SHA family. It outputs a fixed-size digest for any input size. Collisions can be found with modern attacks, so do not use SHA-1 for signatures or certificates.
Security note
SHA-1 is no longer considered collision-resistant for new designs. Prefer SHA-256 or SHA-512 for HMAC, certificates, and general-purpose hashing.
Common questions
- Is this free?
- Yes. Everything runs locally in your browser.
- Is my data uploaded?
- No. Hashing happens on your device.
- Why 40 hex characters?
- SHA-1 outputs 160 bits, which is 40 hex digits.
- Should I use SHA-1 for new systems?
- No. Use SHA-256 or stronger for new applications.