Security

File hash

Compute the SHA-256/SHA-1 hash of a file or text, verify integrity.

  • Instant
  • Free
  • Private (processed locally)
  • No sign-up
Hash

Verify a file is intact

After a download, comparing the hash to the published one proves the file is authentic and complete. This tool computes the SHA hash locally and compares it to your expected hash.

  1. Choose the source

    A file, or text typed directly.

  2. Select the algorithm

    SHA-256 by default (or SHA-1/384/512).

  3. Compare

    Paste the expected hash: instant ✓ or ✗.

Hash lengths

AlgorithmBitsHex
SHA-116040 characters
SHA-25625664 characters
SHA-38438496 characters
SHA-512512128 characters

Computed via WebCrypto, locally: the file never leaves your browser. SHA-256 is recommended; SHA-1 only for legacy.

Frequently asked questions

What is a file hash for?

A hash is a unique signature computed from the content. If a single byte changes, the hash changes completely. It is used to verify that a download was not corrupted or tampered with, by comparing it to the one published by the vendor.

Which algorithm should I choose?

SHA-256 is the recommended standard today: robust and widely published. SHA-1 is older and considered weak (collisions possible); only use it to verify a legacy hash. SHA-384/512 give a longer digest.

Is my file uploaded?

No. The hash is computed locally by the browser’s WebCrypto API; no byte is sent. You can therefore verify sensitive files with full confidentiality.

Why no MD5?

MD5 has long been broken (trivial collisions) and is not provided by WebCrypto. This tool offers the SHA functions, secure and native. For a simple integrity check, SHA-256 is the best choice.