SHA256 Hash Generator
Generate SHA256 hashes from text for integrity checks.
What does this SHA-256 generator do?
This SHA-256 generator computes the 256-bit message digest specified by NIST FIPS 180-4 for text or a selected file and renders it as 64 hexadecimal characters. In text mode, the browser converts characters to UTF-8 bytes. File mode digests the selected bytes. Lowercase and uppercase are display choices for the same value.
SHA-256 worked example and file verification
For the exact three-character input abc—without quotation marks, spaces, or a trailing line break—the result is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. A newline, different capitalization, or a different encoding changes the input bytes and produces a different calculation.
To check a file, generate its SHA-256 value and enter the expected 64-character digest obtained from a trusted source. The comparison reports a match or mismatch. A mismatch proves the bytes differ from those used for the expected digest. A match verifies the comparison, but the source of the expected value still matters.
Can SHA-256 be decrypted, and what does it prove?
This is a SHA-256 generator, not a decrypt or reverse-hash service. A digest compresses input into a fixed 256-bit result; it is not an encrypted or lossless copy that can be decoded to the original. Finding a likely original means guessing candidates and hashing them for comparison.
FIPS 180-4 specifies SHA-256 as a secure hash algorithm and describes hashes as components used with applications such as digital signatures and keyed message authentication. This unkeyed generator does not sign data, authenticate a sender, or encrypt content. Do not treat a digest supplied beside an untrusted file as independent proof of origin.
The text and file hashing paths run in browser code and require no server upload for the calculation. That privacy property does not make a hash encryption; avoid entering secrets into any online utility unless its execution environment is appropriate for your data.
Related developer tools
Continue with PKCE Generator & Verifier, SHA512 Hash Generator, HMAC Generator & Verifier.
How to Use SHA256 Hash Generator
- Enter text or select a local file to generate its SHA-256 digest.
- Choose lowercase or uppercase display; the underlying digest is unchanged.
- For verification, enter a 64-character expected SHA-256 checksum from a trusted source.
- Review the match or mismatch result and investigate any unexpected difference.
Frequently Asked Questions
What is SHA256?
- SHA256 (Secure Hash Algorithm 256-bit) is a cryptographic hash function that produces a 256-bit (32-byte) hash value.
Is SHA256 secure?
- SHA-256 remains suitable for many integrity applications, but an unkeyed digest does not authenticate its source and is not a password-hashing function. Use a trusted expected checksum for file verification and a purpose-built password hash for passwords.
How do I verify a file checksum?
- Select the file and enter a 64-character SHA-256 value from a trusted independent source in the expected-checksum field. The tool reports whether the generated and expected digests match.
Sources & references
Primary references: NIST FIPS 180-4: Secure Hash Standard.
Last reviewed: