SHA-1 Hash Generator

Get the SHA-1 hash of any text, or the SHA-1 checksum of a file.

SHA-1 hash output

Type or paste text above to see its SHA-1 hash here.

Everything runs in your browser, and your data never leaves your device.

How SHA-1 Hash Generator works

Computes the SHA-1 hash of a text, or the SHA-1 checksum of a file. SHA-1 makes a 160-bit hash, written as 40 hex characters.

SHA-1 is no longer safe for signatures, since two different files with the same SHA-1 hash have been made. Older systems still use it for checksums, and Git uses it to name commits.

Input to SHA-1 Hash Generator

  • Text: any text. It is read as UTF-8, and each line break counts as \n.
  • File: any file of any size. Drop it on the box or click to choose it.

Output from SHA-1 Hash Generator

  • The SHA-1 hash in lowercase hex, uppercase hex or Base64.
  • Same as sha1sum in a terminal. Use echo -n to test text there, since echo adds a line break.