How to generate a SHA-256 hash
SHA-256 is the standard choice for file integrity and many security uses. Type text or choose a file to get its 64-character hash.
Open the SHA256 Generator tool
Step by step
- Enter text or choose a file. Type text or pick a file.
- Read the hash. The 64-character SHA-256 appears.
- Compare or copy. Paste a known hash to compare, or copy the result.
Tips for better results
- Use the compare box to verify a download against the hash on the publisher’s site.
- Add a secret key to compute an HMAC-SHA256.
- A plain SHA-256 is not suitable for storing passwords; use a slow password hashing function.
Limits to know
- Formats: Any text or file
- Size: Files up to 300 MB
- Notes: Runs fully in your browser. Very large inputs (several MB) can slow the page.
At a glance
| Tool | SHA256 Generator |
|---|---|
| Category | Security and Password Tools |
| Works with | Any text or file |
| Size limit | Files up to 300 MB |
| Where it runs | In your browser tab; your input is not uploaded |
| Cost | Free, no sign-up |
Frequently asked questions
Is SHA-256 secure?
Yes, it is considered secure for integrity checks and signatures.
Is hashing the same as encryption?
No. A hash is a one-way fingerprint. You cannot turn it back into the original data.
Is my data uploaded?
No. Text and files are hashed in your browser.
If something does not work
- The result says a value is invalid. Check that every field has a number in the allowed range; the message names the field.
- The numbers look different from another calculator. Rounding, rate and date conventions differ between calculators. Compare the assumptions shown with the result.
- The page does not update. Reload it and try again; if it still fails, report it.
- Is the answer advice? No. Results are estimates for general information.
Still stuck? Use Report a Problem and tell us the tool, your browser and what happened, or read the Help Center.
Related tools and guides
- UUID Generator: Generate random version 4 UUIDs or time-ordered version 7 UUIDs. Create up to 1,000 at once and copy or download them. Read the guide
- Hash Generator: Create MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files, with optional HMAC and a compare box. Read the guide
- MD5 Generator: Generate the MD5 hash of any text or file, with optional HMAC-MD5 and a compare box. Read the guide
More tools like this are in Security and Password Tools, or browse all tools.