Hash Generator
Generate SHA checksums for text and files, then compare two hashes to verify integrity. Everything runs locally in your browser.
Generate hashes
Create SHA-1, SHA-256, SHA-384, and SHA-512 checksums for text or files.
Choose any local file to calculate its checksums in your browser.
Text hashes
Copy any digest below for verification or sharing.
File hashes
Copy any digest below for verification or sharing.
Compare two hashes
Paste two checksum values to see whether they match after trimming spaces and ignoring letter case.
How to Use
- Paste text into the input box and click Generate text hashes to create SHA-1, SHA-256, SHA-384, and SHA-512 outputs.
- Toggle uppercase hex if you want checksum values in all caps before copying them.
- Upload a file to calculate its hashes directly in your browser without sending it anywhere.
- Paste two checksum values into the comparison tool to verify whether they match.
Frequently Asked Questions
What is a hash or checksum?
A hash, also called a checksum or digest, is a fixed-length fingerprint generated from data. Even a tiny change to the original text or file produces a different hash value.
What is the difference between SHA-1 and SHA-256?
SHA-256 is stronger and more secure than SHA-1. SHA-1 is still seen in older systems for compatibility, but SHA-256, SHA-384, or SHA-512 are better choices for modern verification and security-sensitive work.
Can I use this to verify a downloaded file?
Yes. Upload the downloaded file, copy the generated checksum, and compare it with the checksum published by the developer or vendor. Matching values suggest the file has not changed.
Are my files uploaded to a server?
No. This tool uses the browser's built-in Web Crypto API, so hashing happens locally on your device.