SHA hash generator for text and files
Type text or drop a file to see its hashes, and paste a published checksum to verify a download.
- Free, no sign-up
- Your files and data stay on your device
- No watermarks or limits
0 bytes uploaded. Everything happens in this tab.
How to use it
- Enter text or choose a file.
- Read the hashes for every algorithm.
- Paste the expected checksum to see whether it matches.
Example
SHA-256 of "abc":
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
About this tool
A hash is a short fingerprint of data. If even one byte changes, the fingerprint changes completely, which makes hashes ideal for checking that a downloaded file was not damaged or tampered with, and for detecting changes in documents.
The tool uses the Web Crypto API of your browser, so even large files are hashed locally and quickly without being uploaded. MD5 is intentionally not offered as a security tool, and SHA-1 is included only for compatibility with older checksums.
Hashes are not passwords or encryption. A plain SHA hash must not be used to store user passwords: use a dedicated password hashing function instead.
Frequently asked questions
Which algorithm should I use?
SHA-256 is the common default. SHA-1 is weak and kept only for old checksums.
Can I hash a large file?
Yes, within your browser memory. The file is not uploaded.
Can a hash be reversed?
No, a hash is one way, although weak inputs can be guessed.
Are hashes safe for passwords?
Not on their own. Use bcrypt, scrypt or Argon2 for passwords.