File Checksum Calculator (SHA-256 / SHA-512)

Calculate SHA-256 and SHA-512 checksums of a file or text in your browser and check them against a published hash. Files are never uploaded.

  • Runs in your browser (no upload)
What do you want to hash?

The file is not uploaded. Web Crypto cannot hash in chunks, so the whole file is read into this device’s memory. Up to 256 MB per file

Algorithms

Compare with a published hash

Paste the value from the download page. Case and spaces are ignored. Also accepts "hash filename" lines, multi-line files such as SHA256SUMS, "sha256:…" and SRI ("sha256-…").

How to use

  1. Choose "File" or "Text", then pick a file (or type the text).
  2. Select the algorithms. SHA-256 and SHA-512 are on by default; you can add SHA-384 and legacy SHA-1.
  3. Paste the published hash into "Expected hash" to see right away whether it matches.

FAQ

Is my file uploaded?

No. The file is read into this device’s memory and hashed by the browser’s built-in Web Crypto API (crypto.subtle.digest). File contents, text and hashes are never sent, stored or logged.

Is there a size limit?

Up to 256 MB per file. Web Crypto cannot hash in chunks, so the whole file has to be read into memory. For bigger files use "certutil -hashfile file SHA256" on Windows, "shasum -a 256 file" on macOS or "sha256sum file" on Linux.

Which algorithm should I use?

Use the one the publisher lists. SHA-256 is the most common. SHA-1 collisions were demonstrated in 2017, so use SHA-1 only to match old published values. MD5 is not supported.

Why does my text hash differ from another tool?

Usually because of line endings (LF vs CRLF), a trailing newline (the echo command adds one) or a different text encoding. This tool hashes exactly the UTF-8 bytes of the text you typed.

Does a match mean the file is safe?

A match only shows that the content equals the file the hash was made from; it does not scan for malware. If an attacker replaced both the file and the published hash, they would still match, so get the hash from the official HTTPS site or a signed source.

Notes & limitations

  • What you enter is processed only on this page and is not sent to YUCTS servers.
  • Files up to 256 MB. The whole file is read into memory, so very large files can be slow or fail on phones with little memory.
  • Supported algorithms: SHA-256, SHA-512, SHA-384 and SHA-1. MD5, CRC32, SHA-3 and BLAKE are not supported.
  • A matching hash only shows identical content; it is not a malware scan or a digital signature (e.g. GPG) check.
  • Files and text are processed only in your browser and are never sent, stored or logged.

Data sources