100% Client-Side: Your data is processed locally and never leaves your browser.

Hash Generator & Checksum Verifier

Generate SHA-256, SHA-384, SHA-512, or MD5 hashes from text and files, then compare a checksum.

Hashes are one-way digests, not encryption. MD5 is available only for legacy compatibility and is not suitable for security-sensitive integrity or authentication decisions.

Input type

How to use this tool

  1. Choose whether to hash text or a file.
  2. Select SHA-256, SHA-384, SHA-512, or MD5, then optionally enter an expected checksum.
  3. Generate the digest and compare it with the expected checksum if supplied.

Technical logic and worked examples

The selected hash algorithm computes a fixed-length digest from the input bytes: H = Hash(message). SHA-256, SHA-384, and SHA-512 are provided by the browser cryptography API; file bytes are processed locally. A matching digest is useful for accidental-corruption checks, but a hash alone does not prove who supplied a file.

  1. The UTF-8 text “hello” produces the SHA-256 digest 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824.
  2. The SHA-256 digest of an empty input is e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.

Frequently asked questions

Is a hash the same as encryption?

No. A hash is a one-way digest and is not designed to be decrypted back into the original input.

Which hash algorithm should I use?

Use SHA-256 or a stronger SHA-2 algorithm for general checksum verification. MD5 is provided only for legacy compatibility and is not collision-resistant.

Are uploaded files sent to a server?

No. File bytes are read and hashed in your browser; the tool does not upload them for processing.

Does a matching checksum prove a file is trustworthy?

It confirms the digest matches the expected value, but only a trusted source for that expected checksum can establish whether the file is authentic.

Privacy

Text and file bytes are processed in this browser; this tool does not upload, store, or add input to URLs. Site advertising may separately process data as described in the Privacy Policy.