Tools / Hash generator / Data

SHA-1 hash generator

A SHA1 hash generator for text and files. Get the 40-character SHA-1 hash in your browser. Fine for checksums, not security.

Report a problem

How to use it

  1. Type some text or open a file.
  2. The hashes appear at once.
  3. Copy the one you need.

About sha-1 hash generator

This sha1 hash generator shows the SHA-1 hash first, with the others below. Type or paste text, or choose a file, and copy the 40-character result. SHA-1 is found in older systems and in Git. It is no longer safe for security, because collisions have been shown, so use SHA-256 for anything that matters. Files are read in your browser and not uploaded.

Questions

How long is a SHA-1 hash?

40 hexadecimal characters, which is 160 bits.

Is SHA-1 still safe?

Not for security. It is fine for spotting accidental damage and for matching old checksums.

Which hash should I use instead?

SHA-256 for checking files, and a password hashing method for passwords.

Is my file uploaded?

No. It is hashed in your browser.

Related tasks

Other tools