Free Online SHA-1 Hash Generator

SHA-1 hash generator: get the SHA-1 hash of any text instantly, in hex or Base64, with examples and security notes.

Generator

MD5, SHA-256, SHA-3, BLAKE2, RIPEMD-160 & 12 More

17 hash and checksum algorithms, with a choice of output format

Results are provided for informational purposes only and may contain errors. Please verify important information independently. Use of this tool is at your own risk.

How to generate SHA-1 hashes

Generate the SHA-1 hash of any text instantly: type or paste text and the SHA-1 digest appears as you type, in lowercase hex, uppercase hex or Base64.

  1. Type or paste your text into the box above.
  2. The SHA-1 hash appears right away: the SHA-1 of hello is aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d.
  3. Copy the hash, or switch between 17 algorithms and three output formats.

Is SHA-1 secure?

SHA-1 is no longer secure: practical collisions have been published since 2017. Use SHA-256 for anything security-related.

SHA-1 hash examples

TextSHA-1
""da39a3ee5e6b4b0d3255bfef95601890afd80709
helloaaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
Hellof7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0
hello world2aae6c35c94fcfb415dbe95f408b9ce91ee846ed
4Dev.Netb7dae1d3fd1ca153e36eaa9e066209ad7e597027

What is SHA-1?

SHA-1 produces a 160-bit hash, shown as 40 hex characters. Git uses it to name commits.

Frequently asked questions

Can SHA-1 hashes be reversed?

No. A hash is a one-way function: it can't be turned back into the text. Short, common inputs can still be found in lookup tables, which is why a plain hash must never store passwords.

Why does changing one letter change the whole hash?

Hash functions are designed so that any change to the input, even one bit, produces a completely different result. That makes them good for detecting changes.

Does the text encoding matter?

Yes. The hash is computed from the UTF-8 bytes of the text. Other tools that use a different encoding or add a line break at the end will give a different hash.

Is this tool free?

Yes, it's free to use. No signup, no email required. Get results on this page.

How do I get my result?

Use the tool on this page. Your result appears here; no email delivery is required.