SHA-256 Generator

The SHA-256 hash of any text or file

Hashed as UTF-8, exactly as typed, including spaces and line breaks.

Hashes

SHA-256
a5f70d3622ba5a285b0c983a1f0e3e912b558c2f78ca5f8a12500d817479142d
MD5
f62efd51eb85ca300e399c00f7522cb5
SHA-1
20389f1318db6ef51b7dd2e158c9fe14e5382ac6
SHA-384
4f0925131437a06988a62cf34b59a00e1217cbbe613342e0ea7e30051f24dd68c4eabaeafa8b6281ae2ef35fd598dad4
SHA-512
af632db506bf270f4422d8bfd14386add5cfe557e6cad90cd55a3512793ce79b4d3b6161830163e4c73ca86e862589053c1d2015b3903aa87a98549f8f28d366

SHA-256 Generator guide

SHA-256 is the most widely used hash today: a 256-bit fingerprint written as 64 hex characters. It secures TLS certificates, software downloads, Docker image digests, and Bitcoin, and has no known practical attacks.

Where SHA-256 is used

  • Checksums published next to software downloads.
  • Docker image digests, such as sha256:2cf24dba…
  • TLS certificates, code signing, and JSON Web Tokens signed with HS256 or RS256.
  • Bitcoin's proof of work and transaction IDs.

Checking a download

Click Hash a file and choose the file, then paste the checksum published by the site you downloaded it from into Check against a hash. A match means your copy is identical to the original, byte for byte.

Example

hello

// SHA-256

2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

From the command line

# macOS
shasum -a 256 file.zip

# Linux
sha256sum file.zip

# Windows (PowerShell)
Get-FileHash file.zip -Algorithm SHA256

Frequently asked questions

How long is a SHA-256 hash?
256 bits, written as 64 hexadecimal characters.
Is SHA-256 secure?
Yes. There are no known practical attacks on SHA-256, and it is the default for checksums and signatures.
Should I hash passwords with SHA-256?
No. SHA-256 is designed to be fast, which helps attackers guess passwords. Use bcrypt, scrypt, or Argon2.
How do I check a file's SHA-256 checksum?
Click Hash a file, then paste the published checksum into Check against a hash. The tool tells you if they match.