SHA hashes without the command line
LOCALHashing turns any input into a fixed-length fingerprint: the same bytes always produce the same digest, and changing one character produces a completely different one. That is useful for checking downloads, comparing files and naming build assets, but it is not encryption and it cannot be undone. This page computes SHA-1, SHA-256, SHA-384 and SHA-512 with the browser's built-in Web Crypto API, so the text or file never leaves your device. Paste a published checksum to see whether it matches, and switch between lower and upper case when a vendor prints its hashes differently. There is no MD5 here, because the browser API does not offer it; a fake MD5 built from a JavaScript implementation would be slower and easy to get wrong.
How it works
- 01
Choose text or a file
Two tabs cover the usual inputs. Text mode hashes exactly the characters in the box, encoded as UTF-8; a trailing newline or a Windows line ending changes the result, so compare like with like. File mode reads the raw bytes of one file and ignores its name. The text box starts empty on purpose, so no hash is calculated and nothing is counted until you type or drop something.
- 02
Pick an algorithm
SHA-256 is the sensible default for checksums and file identification. SHA-512 gives a longer digest and is faster on some 64-bit systems; SHA-384 sits between the two. SHA-1 still appears on older download pages and in Git object IDs, but collisions have been demonstrated in practice, so use it only to reproduce a value someone else published, never for signatures or password storage.
- 03
Copy the result in the case you need
Hashes are shown in lowercase hexadecimal, which is the common convention. Some Windows tools print uppercase, so the case switch changes both the display and what the copy button puts on the clipboard. The value contains no spaces or separators. Nothing is saved, so reloading the page clears the input and the result.
- 04
Check a checksum you were given
Paste the published value into the verify field. Spaces and letter case are ignored, which matters because checksum files often wrap long hashes across lines. A match means the bytes you hashed are the bytes the publisher signed off on; a mismatch means the file is corrupted, incomplete or not the version you expected. SHA-1 and SHA-256 have fixed lengths, so a truncated paste will never match.
When to use it
Verify a download before installing
Vendors usually publish a SHA-256 checksum next to an installer or ISO. Hash the downloaded file here and compare it with the published line. This catches interrupted downloads and mirror corruption. It does not prove who published the file, which needs a signature, but it does prove that the bytes are intact.
Fingerprint build assets and caches
Build tools name files with a content hash so browsers can cache them for a long time. When two builds should be identical, hashing the output is a quick way to confirm that nothing changed, or to find which file did. The same idea works for comparing configuration files between environments without opening a full diff.
Find duplicate files by content
Two files can share a name and size yet differ inside. Hashing both and comparing the digests answers the question directly. In a large folder, start with the files you suspect; a thorough duplicate finder should still read every byte, because a matching hash is strong evidence but not a formal proof against a deliberately constructed collision.
Reproduce a checksum from documentation
Tutorials, API docs and release notes often quote a hash for a sample payload. If a request fails signature verification, hashing the exact body you sent, including whitespace and encoding, is the fastest way to see where the two sides diverge. Remember that many APIs use HMAC with a secret rather than a plain hash, and a plain SHA-256 value will never match an HMAC.
Questions
Is a hash the same as encryption?
No. Encryption is reversible with a key; a hash is a one-way fingerprint. You cannot decrypt a SHA-256 value back to the original text, and this tool does not try. Hashing is for comparing and identifying data, not for hiding it. If you need to protect a file, use encryption; if you need to store a password, use a slow password hash such as Argon2, scrypt or bcrypt with a salt.
Which algorithm should I choose?
SHA-256 for almost everything: download checksums, file identity, API payload checks and general fingerprints. SHA-512 gives a longer digest and can be faster on 64-bit hardware. SHA-384 is common in TLS suites. SHA-1 should only be used to reproduce legacy values, because practical collision attacks exist; it is no longer acceptable for signatures or certificates.
Why is MD5 missing?
The Web Crypto API does not expose MD5, so this page cannot compute it without shipping a separate JavaScript implementation. That would be slower, would duplicate a primitive the browser already has, and would invite people to use MD5 for security, where it is thoroughly broken. If you must check an old MD5 checksum, use a dedicated legacy tool and treat the result as a corruption check only.
Is anything uploaded?
No. The text is encoded and hashed inside the tab, and a file is read with the browser's File API. There is no request carrying your content, no account and no storage. You can confirm this by opening the Network panel and watching that only the page itself and the usage counter are requested.
Why does nothing happen on an http:// address?
Web Crypto only exists in a secure context. Chrome and Firefox expose it on HTTPS and on localhost, but not on a plain http:// LAN address. If the tool reports that hashing is unavailable, open the page over HTTPS or through localhost. This is a browser rule, not a limitation of the hash itself.
Does a trailing newline change the hash?
Yes. A hash is computed over exact bytes, so a final line break, a carriage return from Windows, a byte-order mark or a different text encoding all change the digest. This is the most common reason a manually hashed string does not match a published value. In text mode the input is encoded as UTF-8; when in doubt, hash the original file instead of copied text.
Can a hash be reversed or cracked?
It cannot be reversed mathematically. It can, however, be guessed: an attacker can hash a list of candidate inputs and compare. That is why unsalted SHA-256 is a poor way to store passwords, even though it is fine for checksums. Long random values are safe from guessing; short or predictable ones are not, and a fast hash makes guessing cheaper.
Why do two tools give different hashes for the same file?
Check four things: the file is byte-identical, the algorithm matches, the digest is not truncated, and the encoding matches for text. Some tools hash text as UTF-16, add a newline, or show a base64 digest instead of hexadecimal. A few compute a tree hash or a keyed HMAC. Once algorithm and bytes agree, the hexadecimal value should match exactly.
Is there a file size limit?
This page caps files at 100 MB so a single tab does not exhaust memory. The browser must hold the file's bytes while hashing, and the tab needs roughly that much free memory. For larger archives, use sha256sum or shasum on your computer; the algorithm and the resulting hexadecimal string are the same.