Algorithm reference
SHA-256 hash calculator
SHA-256 is part of the widely deployed SHA-2 family.
Modern
256-bit output
64 hex characters
Digest calculator
Text to hash
Never enter a real account password or any other secret. Submitted text is processed by the server, but never placed in the URL, logs, analytics, or ads.
Practical guidance
About SHA-256
File integrity, signatures, content addressing, and protocol digests.
Collision resistance
No practical collision is publicly known for the full algorithm.
Examples
Use SHA-256
Command line
printf %s "hello" | sha256sumGo
sum := sha256.Sum256([]byte("hello")); fmt.Printf("%x\n", sum)Python
hashlib.sha256(b"hello").hexdigest()JavaScript / browser
crypto.subtle.digest("SHA-256", new TextEncoder().encode("hello"))