Compute a SHA-512 hash with the Web Crypto API, producing a 64-byte digest.
SHA-256 Hasher
Compute a SHA-256 hash with the Web Crypto API, in hexadecimal, Base64 and colon-separated forms.
- Free
- No sign-up
- Runs in your browser
Input
0 characters
Processed entirely in your browser. Nothing is uploaded.
Try an example
Fill in Text to hash to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Paste the text. The digest appears in hexadecimal, with uppercase, colon-separated and Base64 forms alongside.
- 2
The input is hashed as UTF-8 bytes. A checksum mismatch is usually a line-ending or encoding difference rather than a corrupted file.
Questions about SHA-256 Hasher
Can I use SHA-256 for passwords?
No. SHA-256 is deliberately fast - a GPU computes billions per second - so a stolen hash is brute-forced quickly even when salted. Passwords need a slow, memory-hard function: Argon2id first choice, then scrypt or bcrypt. SHA-256 is the right tool for integrity and signatures, not storage.
Why does my checksum not match the published one?
Nine times out of ten it is line endings or encoding. A file saved with CRLF hashes differently from the same text with LF, and UTF-8 with a BOM differs from UTF-8 without. This tool hashes the exact UTF-8 bytes of what you paste, so trailing whitespace counts too.
Is my data sent anywhere?
No. This tool runs as JavaScript inside your browser tab. There is no network request carrying your input, nothing is written to a server log, and it keeps working with your connection switched off. You can confirm it in the browser’s network panel. That matters more here than elsewhere on the site: developer tools handle tokens, keys and production data.
Does the SHA-256 Hasher work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the SHA-256 Hasher keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the SHA-256 Hasher uploaded or stored?
No. The SHA-256 Hasher runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Related tools
Other tools you might reach for next.
Compute a SHA-1 hash for legacy compatibility, with a clear statement of why SHA-1 is deprecated.
Compute an MD5 checksum for legacy compatibility, with a clear statement that MD5 is cryptographically broken.
Compute an HMAC with SHA-1, SHA-256, SHA-384 or SHA-512 using a text or hex key, in your browser.
Format and indent JSON, with optional alphabetical key sorting and a precise syntax error when it will not parse.
Strip every byte of insignificant whitespace from JSON and report the saving.
Check that JSON is syntactically valid, report its structure, and flag duplicate keys that JSON.parse accepts silently.
Compare two JSON documents structurally, by path, distinguishing a type change from a value change.