SHA-256 hash generator
SHA-256 of any text or file, via your browser's built-in WebCrypto.
| 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
Type or paste text, or pick a file.
- 2
The SHA-256 hash appears in the highlighted row.
- 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
MD5 vs SHA-1 vs SHA-256 vs SHA-512: which hash should you use?
What each hash algorithm is still safe for, why none of them should store passwords, when SHA-512 beats SHA-256, and why the same text can give two different hashes.
How to verify a file checksum
Check that a download arrived intact and untampered by comparing its SHA-256 hash. What a matching checksum proves, what it doesn't, and how to check one without uploading the file.