SHA-1 Hash Generator

Generate a SHA-1 hash from any text instantly — in your browser.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

SHA-1 hash generator

Paste any text and instantly get its SHA-1 digest — a 160-bit value shown as 40 hexadecimal characters. The hash updates as you type, making this handy for checksums, Git object IDs, and legacy integrations that still expect SHA-1.

How it works

The tool encodes your text as UTF-8 bytes and passes them to the browser’s built-in Web Crypto API (crypto.subtle.digest("SHA-1", …)). SHA-1 is a one-way hash: it always produces the same 160-bit output for the same input, the output reveals nothing about the input, and even a one-character change produces a completely different digest. Because the hashing is done by the browser, your text never leaves your device.

Example

InputSHA-1 (40 hex characters)
(empty)da39a3ee5e6b4b0d3255bfef95601890afd80709
abca9993e364706816aba3e25717850c26c9cd0d89d

SHA-1 is broken for collision resistance, so do not use it for digital signatures or password storage. It remains useful for non-security purposes such as file checksums, Git object identifiers, and systems that still require SHA-1. For passwords, use bcrypt or Argon2 instead.

Ad placeholder (rectangle)