SHA hash
Compute SHA-256 online
Hash of text or a file in the browser. The file never leaves the device.
Loading
What the hash generator can do
- SHA-1, SHA-256, SHA-384, SHA-512
- Text or a file
- Hex and Base64 output
- Web Crypto API
- Copy the result
- Nothing sent to a server
- Works as a file checksum
- SHA-256 by default
How to compute SHA-256
Pick a source
Text or a file.
Add the data
A string or a file from disk.
Pick an algorithm
For new work, use SHA-256.
Copy the hash
Hex for checksums, Base64 for APIs.
FAQ
Where is MD5?
It is not in Web Crypto and it is weak. Use SHA-256 for file integrity.
Is the file uploaded?
No. The hash is computed locally.
Is SHA-1 safe?
Not for signatures. It still shows up for checking a file copy.
Can a hash be reversed?
No. It is a one-way function.
