SHA Hash Generator
SHA-256 and SHA-512 are NIST-approved hash functions for integrity and for building HMAC or digital-signature schemes. This page hashes text in the browser so you can match a published digest or a Git blob idea. SHA-1 is included only to verify old artefacts; it is deprecated for signatures.
What the SHA hash generator is for
SHA hashes are the standard way to prove a piece of data has not changed. Publishers list them beside downloads so you can confirm a file is exactly what they released.
The check is worth doing on anything security-sensitive: a corrupted download and a tampered one look identical until you compare digests.
Common uses
- Verifying a downloaded installer against the publisher's checksum
- Producing a digest to compare two pieces of text
- Generating deterministic identifiers from content
- Checking data integrity after a transfer
What the output means in the real world
The hex digest is a fingerprint of the exact UTF-8 bytes you entered. Compare it to a vendor line or to another machine's sha256sum. It cannot be reversed into the source. Do not use these fast hashes as password storage; use Argon2 or bcrypt. Do not email a digest as if it hid the document.
How this fits into real work
NIST removed SHA-1 from digital signatures. Browsers already treat SHA-1 certificates as errors. Keep SHA-1 here for matching a 2012 ISO checksum, then stop.
Git still uses SHA-1 for object IDs in older repos and SHA-256 in newer experiments. A digest on this page will not match a Git commit unless you hash the exact Git object encoding, not just the file bytes.
File integrity monitoring (OSSEC, Wazuh, AIDE) stores SHA-256 of binaries. Recompute here when a host claims a mismatch and you want a third opinion on a copied string.
How to use this tool
- Paste the text you want to hash.
- Select an algorithm — SHA-256 unless something specifies otherwise.
- Compute the hash and compare it with the expected value.
- Treat any difference at all as a failed check.
Tips
- SHA-1 is deprecated for security use; practical collision attacks against it have been demonstrated.
- Hashes cover exact bytes, so a trailing newline changes the result completely.
- For passwords use bcrypt or Argon2 — SHA is far too fast to store credentials safely.
Privacy & how it works
Everything happens inside your browser. The values you type are held in page memory only, are never sent to a server, and disappear when you close the tab. You can confirm this in your browser's network tab: the only request a tool makes is one that names the tool for a usage count, with nothing you typed in it. The tools also work with the internet disconnected. Computed with the browser's SubtleCrypto implementation.
Frequently asked questions
- SHA-256 or SHA-512?
- SHA-256 is the sensible default and is faster on 32-bit systems. SHA-512 produces a longer digest and can be quicker on 64-bit hardware, but for integrity checking either is fine.
- Why does the site's checksum not match mine?
- Either the download is incomplete or corrupted, or you hashed different content — for example the compressed archive rather than the extracted file.
Browse other tools
All tools run entirely in your browser — nothing you type is sent to a server, except the optional HIBP 5-character hash prefix.