What is Hash Generator?
Compute cryptographic hashes of text or any file. Text hashes update live as you type; file hashes are computed from the raw bytes, so you can verify a download against a published checksum without uploading it anywhere.
How to use Hash Generator
- Choose whether to hash text or a file.
- Type your text, or select the file you want to check.
- All four hashes (SHA-1, SHA-256, SHA-384, SHA-512) appear together.
- Copy whichever you need, or compare it against a published checksum.
Why use this tool?
Verify downloads safely
Comparing a file’s SHA-256 against the publisher’s checksum proves it downloaded intact and was not tampered with. Doing it locally means the file never leaves your machine.
Uses the Web Crypto API
Hashes come from the browser’s native implementation, so results match any standard tool exactly.
Frequently asked questions
Which hash should I use?
SHA-256 for almost everything. SHA-1 is included for checking older published checksums but is considered broken for security purposes and should not be used for anything new.
Can a hash be reversed?
No. Hashing is one-way — the same input always gives the same hash, but the hash cannot be turned back into the input. That is what makes it useful for verification.
Is my file uploaded to hash it?
No. The file is read into your browser’s memory and hashed there. Nothing is transmitted, which is what makes this safe for confidential files.