Hash generator
Generate SHA-1, SHA-256 and SHA-512 hashes of text or a file using the browser's own crypto engine.
The code for this tool is fetched only when you open it.
What hash generator does
Hash generator produces SHA-256, SHA-512 or SHA-1 digests of text or a file. It is the checksum check — confirming a download arrived intact, comparing two files, or producing the digest a build system expects.
How it works
crypto.subtle.digest, the browser's own WebCrypto implementation, fed with the UTF-8 bytes of your text or the raw bytes of the file. The hex string is the standard lowercase representation.
Nothing is uploaded, because nothing needs to be: the browser already has a decoder, a canvas and an encoder. Close the tab and every trace of the file is gone, which is a stronger guarantee than any deletion policy.
Formats and limits
| Limits | Text of any length; files up to the tab's memory. SHA-256 on a 100 MB file takes a couple of seconds and does not block the UI. |
|---|---|
| Price | Free, unlimited, no account |
Worth knowing
- WebCrypto is the same primitives a browser uses for TLS, so the digests match command-line sha256sum byte for byte.
- SHA-1 is offered for legacy checksum comparison only. It has been broken for collision resistance since 2017 and must not be used for signatures.
Questions about hash generator
How do I verify a download's checksum?
Hash the file here and compare the hex string with the one the publisher listed. If a single character differs, the file is different — there is no partial match worth investigating.
Should I use SHA-1?
Only to match a legacy system that demands it. For anything security-relevant use SHA-256 or SHA-512; SHA-1 collisions have been demonstrated in practice.
Can a hash be reversed?
Not practically, for a good hash. Short or guessable inputs can be found by hashing candidates, which is why a hash of a common password is not a secret.
Can I hash a large file?
Yes, the file is streamed into the crypto engine in one pass; the limit is your device's memory for the read buffer, not the hash itself.
Is MD5 available?
No. The browser's built-in crypto only offers SHA-family digests, and JS MD5 is slower and not needed for checksums.
Is my file uploaded anywhere?
No. There is no upload step and no server-side copy: the browser decodes and re-encodes the file in this tab, and the network carries nothing about it.
Will it run on a plane?
Once the page has loaded, yes — the processing code runs locally and no further request is needed. The first load has to come from the network like any page.
What does it cost?
Free with no account and no daily limit — counting and calculating are not metered, because they cost nothing to run.