SHA-256 Generator
Get the SHA-256 hash of any text or file in hex or Base64, sign messages with HMAC-SHA256, and verify a download against its published SHA-256 checksum.
- PrivateYour data never leaves this device
- No uploadsProcessed in your browser, not on a server
- 100% freeNo signup, no watermark, no trial
- UnlimitedUse it as often as you like, no daily caps
Text to hash
Hashes
How to use the SHA256 Generator
- Type or paste your text, or switch to File and choose a file.
- The SHA-256 hash appears at the top as you type (SHA-1, SHA-384, SHA-512 and MD5 are shown below it).
- Tick HMAC and enter a secret key to create an HMAC-SHA256 signature.
- Paste the expected checksum into the compare box to verify the file or text.
Latest guides
All →
SEO & MarketingHow to make a Wi-Fi QR code so guests join without typing
Make a WiFi QR code so guests join your network by pointing a phone camera at it. The format, hidden networks, special characters, safety…
12 Nov 20266 min read
PDF ToolsHow to watermark NID and certificate copies before sharing
Watermark NID copy and certificate PDFs with who it is for, the purpose and the date, so a copy given for one job is hard to reuse for…
12 Nov 20265 min read
PDF ToolsHow to number the pages of a thesis or project report PDF
Thesis page numbering made simple: the usual rules for front pages and chapters, and how to number a finished PDF from Chapter 1 for free…
12 Nov 20265 min readFrequently asked questions
What is SHA-256?
SHA-256 is a member of the SHA-2 family designed by the NSA and standardised by NIST in FIPS 180-4. It produces a 256-bit (32-byte) hash, usually written as 64 hexadecimal characters.
Is SHA-256 secure?
Yes. There are no known practical collision or preimage attacks on SHA-256, and it's used in TLS certificates, code signing, Git (SHA-256 mode) and Bitcoin. For storing passwords, though, use a slow algorithm like Argon2 or bcrypt.
Can a SHA-256 hash be decrypted?
No. Hashing is one-way — there is no key to decrypt it. Online 'decrypters' only look up hashes of common words and leaked passwords in precomputed tables.
How do I verify a file's SHA-256 checksum?
Switch to File, choose the downloaded file and paste the checksum from the publisher's website into the compare box. A green match means the file is identical to the original. On the command line you can use ‘sha256sum file’ (Linux), ‘shasum -a 256 file’ (macOS) or ‘Get-FileHash file’ (PowerShell).
What is HMAC-SHA256 used for?
HMAC-SHA256 signs a message with a shared secret key. APIs and webhooks (Stripe, GitHub, AWS Signature V4 and many others) use it so the receiver can check that a request is authentic and unmodified.
Is my data sent to a server?
No. The SHA-256 hash is calculated in your browser with the Web Crypto API. Your text, files and keys never leave your device.