SHA-256 hash generator
Get the SHA-256 fingerprint of any text or file, and verify a download in seconds.
- 100% free
- No sign-up
- Runs in your browser
How to use SHA-256 hash generator
- Add text or a file
- Copy the SHA-256
- Verify a checksum
Type text, open any file, or drop one here. Text is hashed as UTF-8
Hashes
SHA-256
—
MD5
—
SHA-1
—
SHA-384
—
SHA-512
—
SHA-256 is the usual choice for download checksums and file integrity. For storing passwords, use a slow password hash such as Argon2 or bcrypt instead.
Paste the checksum from the download page to check your file. Case and spaces don’t matter.
Next: Base64 encode / decode · UUID generator
Report a problem with this tool
How to use SHA-256 hash generator
Add text or a file
Type or paste text, or open or drop the file you want to check. It’s read on your device and never uploaded.
Copy the SHA-256
The 64-character SHA-256 hash appears first and highlighted. The main button copies it; other algorithms are listed below.
Verify a checksum
Paste the SHA-256 from the download page, from sha256sum or with a sha256- prefix, and see whether it matches.
Why use Utils365
Uses Web Crypto
Hashing is done by your browser’s built-in, audited SHA-256, which is fast even for files of hundreds of megabytes.
Reads checksum files
Paste a line from a SHA256SUMS file or BSD-style SHA256 (file) = … and the hash is picked out for you.
SRI-ready Base64
Switch to Base64 to get the value used in Subresource Integrity attributes, as in integrity="sha256-…".
Frequently asked questions
What is SHA-256?
A hash function from the SHA-2 family that turns any data into a 256-bit value, written as 64 hex characters. The SHA-256 of hello is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824.
Is SHA-256 secure?
Yes. No practical way to find two inputs with the same SHA-256 is known. It’s used for software downloads, TLS certificates, Git’s newer object format and Bitcoin.
How do I check a file’s SHA-256?
Open the file here and paste the checksum from the publisher’s site into Compare. On a Mac or Linux you can also run shasum -a 256 file; on Windows, certutil -hashfile file SHA256.
Should I store passwords as SHA-256?
No. SHA-256 is secure but designed to be fast, so stolen hashes can be guessed billions of times a second. Use Argon2, bcrypt or scrypt, which are deliberately slow and salted.
Why does the same text give a different hash elsewhere?
Usually invisible differences: a trailing new line, Windows line endings or a different encoding. Here text is hashed as UTF-8 exactly as typed, with nothing added.
What is the SHA-256 of an empty file?
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855. If a download shows this, the file is empty.