Hash Generator
Calculate a hash digest for your input in the browser using a supported SHA algorithm.
Text or file checksum
Hash UTF-8 text or a file up to 64 MiB. The digest includes every byte, including line breaks and spaces.
Result
Copy the digest or compare it against an expected checksum.
Select Calculate hash to hash the text or selected file. Empty text is also valid.
Runs in your browser. Nothing is uploaded.
Also known as: sha256 generator, checksum calculator, generate digest
How to use
- Enter text or select a file up to 64 MiB.
- Choose a SHA algorithm and calculate the digest.
- Copy the hexadecimal result or compare it with an expected digest.
Frequently asked questions
Which algorithms are supported?
SHA-256, SHA-384, SHA-512, and legacy SHA-1. SHA-1 is insecure for collision resistance.
Does hashing encrypt the input?
No. It produces a fixed-length digest, not encrypted data or a recovery mechanism.
Do spaces and line breaks affect the digest?
Yes. Text is encoded as UTF-8 and hashed as entered. Files are hashed directly from their bytes.
Can a matching checksum prove who made a file?
No. A match checks bytes against the supplied digest. It does not prove who published the file or checksum.