Enter your text or file
Type or paste text, or drop a file of up to 500 MB. Nothing is uploaded.
Type or paste text, or drop a file, and get its SHA-1 hash (40 hexadecimal characters) instantly, next to the other common hashes. Everything is computed in your browser.
100% private — text and files are hashed in your browser and never uploaded.
Keep going with your result in another tool. Nothing is uploaded.
Type or paste text, or drop a file of up to 500 MB. Nothing is uploaded.
The hash updates as you type. Choose lowercase or uppercase hexadecimal, or Base64.
Copy the hash with one click, or paste a known hash in the compare box to check that they match.
To generate a SHA-1 hash, type or paste your text in the box above, or drop a file on it. The 40-character SHA-1 checksum appears at once, together with the other common hashes, and you can copy any of them. Everything is computed in your browser, so the text and files you hash are never uploaded. For example, the SHA-1 of the word hello is aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d.
SHA-1 (Secure Hash Algorithm 1) was published by the US standards body NIST in 1995 as FIPS 180-1. It turns any input into a 160-bit fingerprint, shown as 40 hexadecimal characters. It was the workhorse of web security for two decades and is still everywhere in older software.
| Text | SHA-1 hash |
|---|---|
(empty) | da39a3ee5e6b4b0d3255bfef95601890afd80709 |
hello | aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d |
Hello | f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0 |
hello world | 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed |
UtilsDock | 418e21fd463c9d013b6fe166866f8da5bf9a17c6 |
SHA-1 is deprecated for security. In 2017 Google and CWI Amsterdam published the first real collision, two different PDF files with the same SHA-1, which took about 9 quintillion computations. Browsers stopped trusting SHA-1 certificates that year. For anything where an attacker could benefit from a collision, such as signatures, certificates or software updates, use SHA-256 or SHA-512.
The hash is computed by your own browser with the Web Crypto API (and a built-in routine for MD5, which Web Crypto does not offer). Nothing you type and no file you drop is sent to a server, so it is safe to hash private text and internal files.
More utilities that also run without leaving your browser.