Developer GUIDE

SHA Hashes and File Checksums Guide

Generate local text and file checksums, compare trusted values, and understand hash limitations.

Updated About 2 min read
Open Hash / Checksum Generator

Generate a local fingerprint

Open the Hash / Checksum Generator to calculate a digest from UTF-8 text or exact file bytes. Choose SHA-256, SHA-384, or SHA-512, then select Generate hash. The output includes lowercase hexadecimal and Base64 representations of the same digest, with separate copy actions. Files are not interpreted as text, and a trailing newline in a file changes its checksum. Empty text and empty files have valid, well-defined digests.

Verify a trusted expected checksum

Load Example to hash the three characters abc. Its SHA-256 hexadecimal digest is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. Paste that digest into Expected hexadecimal checksum and choose Verify checksum to see Match. A different valid digest produces Does not match. Harmless whitespace and uppercase hexadecimal letters are normalized; an invalid length or nonhexadecimal character produces a helpful validation message instead of a misleading verdict.

Obtain the expected checksum from a source you trust independently. Matching a checksum supplied beside a malicious file does not establish that the file is safe. The comparison checks equality, not a digital signature, publisher identity, or malware status. Use the JWT Inspector to inspect token claims, or the Encoder and Decoder when you need a reversible text representation rather than a digest.

Hashing is not encryption

A hash is a fixed-size fingerprint. It does not hide or encrypt the original data, and it is not a suitable standalone password-storage scheme. Small or predictable inputs can be guessed by comparing their hashes. SHA-1 is available only for legacy checksum compatibility and carries a visible warning: its collision resistance is broken, so it should not be used for security decisions. No MD5 compatibility dependency is included.

Bounded processing and privacy

Native Web Crypto runs in a local background worker over HTTPS or a trusted local development origin. Text is limited to 1 MB of UTF-8 bytes; Unicode characters may require more than one byte. Files are limited to 50 MB. The native digest API requires a complete buffer rather than streaming chunks, so the limit is checked before reading a file. Cancellation, clearing, and leaving the page release the worker and discard in-memory results. Nothing is uploaded, logged, placed in analytics, or saved in browser storage. Copied checksums remain on your clipboard until you replace them.

Ready to try it?

Hash / Checksum Generator

Generate local text and file checksums, compare trusted values, and understand hash limitations.

Open Hash / Checksum Generator

Related tools

Related resources