File integrity

File checksum checker

Calculate a SHA checksum in this browser and compare it with an expected value. Verify the bytes you have while keeping the original file untouched.

Processed on this deviceAny file · UTF-8 text25 MiB maximum

Your workspace

No upload · No account · Separate output

Maximum 25 MiB. Browser hashing loads the whole file into memory. The file is not uploaded.

No file selected.

Paste hexadecimal characters only. A trusted source should publish the expected hash independently.

Undo restores the previous import, example, reset, or swap. For typing, use your editor’s normal undo command.

How to use it

  1. Choose a local file or UTF-8 text, then choose the SHA algorithm.
  2. Optionally paste the expected hexadecimal checksum from a trusted source.
  3. Calculate and compare. A mismatch means the input bytes or expected hash differ; a match is not an authenticity or malware verdict.

Know the limits

  • Maximum 25 MiB per file. The Web Crypto digest API is non-streaming; larger files are rejected before reading.
  • Web Crypto needs a modern browser and a secure context such as HTTPS or localhost.
  • SHA-256, SHA-384, and SHA-512 are supported. MD5 and SHA-1 are deliberately not offered.
  • Text hashes depend on exact bytes. Encoding, spaces, and newline changes can alter a checksum.

Walk through a real example

Check SHA-256 file integrity against a trusted source

A step-by-step guide with worked examples and important limits.

Common questions

Does a matching hash prove the file is safe?

No. It proves equality with the supplied hash, not who created the file or whether the contents are trustworthy. Obtain the reference hash through a trusted channel.

Why cap file size at 25 MiB?

The browser digest API reads the whole input into memory. This conservative cap avoids making streaming or low-memory guarantees that the tool cannot meet.

Your input stays here

These standalone pages do not send your input to a server or save it in browser storage. Files and undo values remain in memory while the page is open. Copy and download happen only when you choose them.