SHA-256 Hash Generator

Generate a SHA-256 message digest from text input. Paste or type text, select Generate hash, and the tool returns the 256-bit digest as 64 uppercase hexadecimal characters.



Question

What is SHA-256?

SHA-256 is a cryptographic hash function in the SHA-2 family standardized by NIST. It maps input text to a fixed 256-bit message digest, normally displayed as 64 hexadecimal characters.

This tool hashes the text you enter as UTF-8 bytes and writes the resulting SHA-256 digest to the output box without sending the text to a server. Whitespace, punctuation, letter case, line endings, and non-ASCII characters all affect the result, so compare the output only with systems that hash the same text encoding.

SHA-256 is useful for reproducing published test vectors, preparing examples, checking whether text changed, documenting checksums, and working with protocols that explicitly require a 256-bit SHA-2 digest. If a system asks for SHA-224, SHA-384, SHA-512, or SHA-3, use the exact algorithm it names rather than substituting SHA-256.

The digest is not encryption and cannot be decoded back to the original text. It is also not a password storage scheme or a message authentication code; use a salted password hashing algorithm for passwords and a keyed integrity mechanism when authenticity is required.