Hash Generator & Checksum Checker
Generate SHA-2 digests for exact text or one local file without uploading the input. Verify raw hashes, GNU checksum lines, BSD checksum lines, labeled digests, and multi-line checksum lists.
Generate a local hash.
The digest and verification result will appear here.
How to Generate a File or Text Hash
Choose Text or File and select SHA-256, SHA-384, or SHA-512.
Text mode hashes the exact UTF-8 bytes represented by the text box. File mode hashes the complete contents of the selected local file.
Select Generate hash, then copy the hexadecimal digest or download a checksum file.
How to Verify a Published Checksum
Generate a digest using the algorithm named by the publisher.
Paste the expected hexadecimal value, the complete checksum line, or the relevant checksum-list contents.
The checker reports a match, mismatch, wrong algorithm, filename mismatch, ambiguous list, or unsupported format.
Obtain the expected checksum from a trusted source rather than an unrelated mirror or repost.
SHA-256, SHA-384, and SHA-512
SHA-256, SHA-384, and SHA-512 belong to the SHA-2 family standardized by NIST.
Their hexadecimal digest lengths differ, which allows the checker to detect many cases where the selected algorithm does not match the pasted value.
For verification, use the algorithm specified by the publisher rather than choosing a different algorithm because it appears stronger.
Supported SHA-2 algorithms
Swipe horizontally to view the full table.
Supported Checksum Formats
A checksum may be published as a bare hexadecimal value or together with an algorithm name and filename.
GNU-style output places the digest before the filename. BSD-style output places the filename inside parentheses.
When a list contains named entries, the checker compares only the entry matching the selected local file. It does not silently use a line for another filename.
Checksum formats accepted by the checker
Swipe horizontally to view the full table.
What Is Included in a File Hash?
A file digest is calculated from file contents.
The filename, folder, creation time, modification time, and download location are not hashed.
Renaming or moving an unchanged file therefore leaves its digest unchanged, while changing even one byte normally changes the digest.
Why Text Hashes Can Differ
Hash functions operate on bytes rather than visual appearance.
A trailing newline, additional space, different capitalization, Windows versus Unix line endings, or another Unicode sequence can produce a different digest.
The tool does not trim whitespace or normalize Unicode before hashing.
Understanding a Checksum Match
A match means the generated digest equals the expected digest selected by the checker.
When the expected digest came from a trusted source, this provides strong evidence that the local bytes agree with the described file.
It does not prove who created the file. Digital signatures and trusted signing keys serve a different purpose.
Common Reasons for a Mismatch
The selected file may be a different version, operating-system build, architecture, archive, or extracted file.
The wrong hash algorithm may be selected, the download may be incomplete, or the expected checksum may have been copied from another entry.
For text, invisible whitespace and line-ending changes are common causes.
Why Files Are Limited to 100 MB
The browser's native digest API requires the complete input buffer and does not provide streaming progress.
A 100 MB cap keeps memory use more predictable on phones and lower-memory computers.
Use an operating-system checksum command or a trusted streaming desktop utility for larger files.
Hashes Are Not Password Storage
A single fast SHA-256, SHA-384, or SHA-512 digest is not an appropriate way to store user passwords.
Password-storage systems require a unique salt and an intentionally expensive password-hashing design.
Follow current application-security guidance for password storage rather than using this checksum tool.
Privacy and Local Processing
The selected file, entered text, generated digest, and expected checksum remain in the browser.
Nothing is uploaded, added to a public URL, or permanently stored by the tool.
Hash Generation and Comparison
A digest is generated from the exact input bytes and compared with the selected expected digest.
Formula variables
- Exact text or file bytes
- Generated hexadecimal message digest
- Digest generated from the selected local input
- Digest obtained from the supplied checksum
Examples
Verify a downloaded archive
1Input
Select app-v4.2.0.zip, choose SHA-256, and paste its line from the publisher's SHA256SUMS file.
Show result
Result
The checker selects the entry matching app-v4.2.0.zip and reports whether the digest matches.
Detect a checksum for another file
2Input
Select app-windows.zip but paste a list containing only app-linux.tar.gz.
Show result
Result
A filename-mismatch warning instead of comparing against the wrong entry.
Detect the wrong algorithm
3Input
Generate SHA-256 and paste a valid 128-character SHA-512 digest.
Show result
Result
The checker reports that the expected checksum uses SHA-512.
Hash exact text
4Input
Hash the text “example”, then add a trailing newline.
Show result
Result
The second digest differs because the newline adds bytes.
Rename a file
5Input
Generate a digest, rename the unchanged file, and hash it again.
Show result
Result
The same digest because the filename is not included in the hashed contents.
Frequently Asked Questions
Are my file and text uploaded?
No. The selected input is read and hashed locally in the browser.
Can I paste a complete checksum line?
Yes. Raw digests, GNU lines, BSD lines, labeled values, and multi-line checksum lists are supported.
Can I paste an entire SHA256SUMS file?
Yes. When entries contain filenames, the checker looks for a unique entry matching the selected local file.
What happens when the checksum names another file?
The checker reports a filename mismatch instead of silently comparing your file with that entry.
Does renaming a file change its hash?
No. The file contents are hashed, not its name or folder.
Why does identical-looking text produce another hash?
Spaces, line endings, hidden characters, capitalization, and Unicode sequences can produce different bytes.
Does a matching checksum prove a file is safe?
No. It proves agreement with the supplied digest. It does not scan for malware or prove that the checksum belongs to a trusted publisher.
Which hash algorithm should I select?
Use the algorithm named by the publisher. A SHA-256 value has 64 hexadecimal characters, SHA-384 has 96, and SHA-512 has 128.
Why are MD5 and SHA-1 unavailable?
The tool focuses on modern SHA-2 integrity workflows rather than legacy algorithms with known collision weaknesses.
Can a hash be reversed?
A cryptographic digest is not reversible encryption, although attackers can still test guesses for predictable or low-entropy inputs.
Can I use SHA-256 to store passwords?
Not by itself. Password storage requires a salted, deliberately expensive password-hashing scheme.
Why is the file limit 100 MB?
The browser digest API reads the complete file into memory and does not provide streaming progress.
References
You might also like
Screenshot Redaction Tool
Black out private areas of a screenshot with opaque replacement pixels and inspect the encoded PNG before downloading.
Secure Password Generator
Generate 1, 5, or 10 cryptographically random passwords locally with adjustable length, character sets, and ambiguity filtering.
QR Code Generator
Create free static QR codes for URLs, Wi-Fi, vCards and more with logos, custom styling, PNG/SVG export, and no account, redirect, expiry, watermark, or scan limit.
JSON to CSV Converter
Convert JSON, nested API responses, JSONL, and NDJSON to CSV or Excel with row-source selection, column preview, and browser-local file processing.