SHA1
This SHA1 online tool helps you calculate hash from string or binary. You can input UTF-8, UTF-16, Hex to SHA1. It also supports HMAC.
Share Link
What is SHA-1?
SHA-1 is a hash function from the SHA-1 family, introduced in 1995 by the NSA, published by NIST (FIPS 180-1). It turns input of any size into a fixed 160-bit (40 hex character) digest. The same input always gives the same output, and a one-bit change in the input gives a completely different result.
Security status: SHA-1 is deprecated: the SHAttered collision was published in 2017.
Common uses: Git object IDs, legacy TLS certificates and older HMAC-SHA1 integrations.
How to calculate SHA-1 online
- Type or paste your text into the Input box.
- Choose the input encoding (UTF-8, UTF-16, Hex or Base64) if needed.
- The SHA-1 hash appears instantly in the Output box while Auto Update is on.
- Click the copy icon, or use Share Link to send the exact input and settings.
Everything runs in your browser with JavaScript. Your text is never uploaded to a server.
Frequently asked questions
Is this SHA-1 tool free and private?
Yes. It is free with no sign-up, and the SHA-1 calculation runs entirely in your browser. Nothing you enter is sent to our servers.
Can I reverse or decrypt a SHA-1 hash?
No. SHA-1 is a one-way function, so the original input cannot be recovered from the output. Sites that "decrypt" hashes only look them up in tables of precomputed common inputs.
How long is a SHA-1 hash?
A SHA-1 digest is 160 bits, which is 20 bytes or 40 hexadecimal characters.
Should I use SHA-1 for passwords?
No. Use a slow, salted password hash such as Argon2id, bcrypt or scrypt. For integrity checks, prefer SHA-256 or BLAKE3.
Why does my hash differ from another tool?
Check the input encoding and trailing newlines. "abc" and "abc\n" hash differently, and UTF-8 and UTF-16 produce different bytes for the same text.