Encryption

SHA-1 Hash Generator

Generate a SHA-1 hash from text or a file. Legacy and Git object IDs.

Legacy
Input
Hashed in your browser
61 characters · 61 bytes
SHA-1

—

Compared locally; nothing is sent anywhere.

Enter text or choose a file

Not for security use. SHA-1 is broken for collision resistance (a chosen-prefix collision was demonstrated in 2020) and is unsuitable for certificates or signatures. It is still used to address Git objects and older checksums — use SHA-256 for new work.