Hash Generator
Get the SHA-256, SHA-1 and SHA-512 hashes of text or a file, and check a file against an expected checksum. Uses your browser's built-in cryptography.
0 B · UTF-8
SHA-1
160 bits
SHA-256
256 bits
SHA-512
512 bits
- SHA-1: Broken for security (collisions are practical). Fine for checksums of trusted files.
- SHA-256: The usual choice for checksums and signatures.
- SHA-512: Longer digest, often faster than SHA-256 on 64-bit devices.
- Hashes aren't encryption. For storing passwords, use a dedicated password hash such as Argon2 or bcrypt.
How it works
- 1Type or paste text, or switch to File and choose a file.
- 2All three hashes appear at once, in hex or Base64.
- 3Paste an expected hash to check whether it matches.
Private by design
This tool runs entirely in your browser. Your files and text are never uploaded to a server. It keeps working even if you go offline after the page loads.