Skip to content

SHA-256 hash generator

SHA-256 of any text or file, via your browser's built-in WebCrypto.

Runs in your browser — files never leave your device
Text to hash
SHA-256—
MD5—
SHA-1—
SHA-384—
SHA-512—

Compute a SHA-256 checksum without uploading the file

SHA-256 is the checksum most projects publish next to their downloads, and the one to pick when you get to choose. Select a file and its SHA-256 is computed by the WebCrypto API built into your browser — the same native implementation the browser uses for TLS — so a multi-gigabyte ISO is hashed locally instead of being uploaded first.

The output is lowercase hex, the same as sha256sum on Linux, shasum -a 256 on macOS and Get-FileHash in PowerShell (which prints uppercase — tick UPPERCASE to compare by eye).

Verifying a download with SHA-256

Hash the file you downloaded and compare the result with the checksum on the project's release page, all 64 characters of it. A match proves the file wasn't corrupted in transit and wasn't swapped by a mirror. It can't protect you if the attacker also controls the page showing the checksum — that is what signed releases are for. The full walkthrough is in how to verify a file checksum.

SHA-256 has no known practical attack and is the default in TLS certificates, Git's newer object format, Docker image digests and most package managers.

Other conversions with this tool

How to generate a SHA-256 hash

  1. 1

    Type or paste text, or pick a file.

  2. 2

    The SHA-256 hash appears in the highlighted row.

  3. 3

    Compare it with the checksum you were given.

SHA-256 Generator — frequently asked questions

Is my file uploaded anywhere?

No. The conversion runs in your browser, and this site has no server that could receive your file. A Content-Security-Policy blocks requests to other domains; you can confirm in DevTools → Network or by going offline.

Does it match sha256sum and shasum -a 256?

Yes — same algorithm, same lowercase hex output. Hashing text adds no trailing newline, so it matches printf, not plain echo.

How long is a SHA-256 hash?

256 bits, written as 64 hexadecimal characters.

SHA-256 Generator guides