File Hash Calculator

Compute the SHA-256 (or SHA-384/512) of a local file up to 50 MiB without uploading it: the file is read only in your browser.

Options

Input

Up to 50 MiB. The file is not uploaded: it is read in your browser.

Ctrl + Enter to run

Result

Compute the SHA-256, SHA-384 or SHA-512 of a file on your device to check that a download is not corrupted or tampered with, by comparing it with the checksum published by the vendor.

The file is not uploaded: it is read into memory inside your browser and passed to Web Crypto. The example on this page shows the SHA-256 of an empty file.

How to use it

  1. Select the file (up to 50 MiB on desktop, 20 MiB on mobile).
  2. Choose the algorithm and format.
  3. Press Run and compare with the published checksum.

Example

Result
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Limitations

  • Web Crypto needs the whole file in memory; there is no chunked processing, hence the size limit.
  • A matching hash proves integrity, not that the file is safe: also check the vendor’s signature if offered.

FAQ

Why the 50 MiB limit?
Because hashing with Web Crypto requires loading the whole file into memory; on mobile the limit is lower to avoid exhausting it.
Is it the same as sha256sum?
Yes, the lowercase hex result is the same as sha256sum or Get-FileHash for the same file.

Related tools

References