How to use
This tool runs locally in your browser using the Web Crypto API.
- Select or drag-and-drop a file.
- Choose the hash algorithm and output format.
- Click Generate hash.
- Copy the digest and compare it with the expected checksum.
FAQ
Is my file uploaded to a server?
No. The hash is computed locally in your browser and the file never leaves your device.
Which algorithms are supported?
This tool supports SHA-1, SHA-256, SHA-384, and SHA-512 via the Web Crypto API.
Why doesn’t it show MD5?
Most browsers don’t provide MD5 in the built-in Web Crypto API; if you need MD5 for text, use the related hash tool, or use a desktop tool for file MD5.
Hex vs Base64: which should I use?
Use hex for most published checksums; use Base64 when an API or system specifically asks for it.
My hash doesn’t match the published checksum—what can cause that?
Common causes are using the wrong algorithm (e.g., SHA-256 vs SHA-1), hashing a different file version, or a truncated/corrupted download.
Can I hash very large files?
Browser hashing loads the file into memory, so very large files may be slow or fail; for huge files, a native desktop hashing tool is more reliable.
How do I compare two files?
Hash each file with the same algorithm and compare the digests; identical digests strongly indicate identical file contents.