File Hash

Computes the SHA hash (checksum) of a file.

File Hash computes the cryptographic checksum of a file directly in your browser, supporting SHA-1, SHA-256, SHA-384, and SHA-512. It's useful for verifying file integrity, confirming a download matches a published hash, or generating a fingerprint to detect whether two files are identical.

Common uses

  • Verify a downloaded file against a published SHA-256 checksum to confirm it wasn't corrupted or tampered with
  • Generate a SHA-512 fingerprint of a build artifact or release to share alongside it
  • Compare hashes of two files to check whether their contents are byte-for-byte identical
  • Produce a SHA-1 checksum when working with legacy systems or tooling that still expects it
  • Create a content fingerprint for caching, deduplication, or change detection

FAQ

Is my file sent to a server?

No. Hashing runs entirely in your browser using the built-in Web Crypto API, and the file never leaves your device or gets uploaded anywhere.

Which hash algorithms are supported?

SHA-1, SHA-256, SHA-384, and SHA-512. If an unrecognized algorithm is requested, it falls back to SHA-256.

What format is the output hash in?

The digest is returned as a lowercase hexadecimal string, with each byte rendered as two zero-padded hex characters.

Why isn't MD5 available?

The tool relies on the browser's native Web Crypto API, which only provides SHA-1, SHA-256, SHA-384, and SHA-512. MD5 is not part of that API and is not offered.

Does the same file always produce the same hash?

Yes. A given file and algorithm always produce the same hash, so you can reliably compare a computed value against a known checksum.

Related tools

  • Adler-32 Checksum
  • AES Encrypt / Decrypt
  • Argon2 Hash
  • Bcrypt Hash / Verify
  • CRC32 Checksum
  • Hash (SHA)
  • Hash Identifier
  • HMAC Generator