File Hash Verifier
Hash exact local file bytes with SHA-2 and optionally compare a supplied expected digest.
Loading tool…
How to use File Hash Verifier
Check binary bytes without converting them to text. An optional expected hexadecimal digest is compared exactly after case normalization.
- Enter local file, expected hexadecimal digest (optional).
- Choose the settings for file hash verifier, then run the tool.
- Review the result and any limitations before copying or downloading it.
Good to know
- 20 MiB file cap. The complete file buffer is used by Web Crypto.
- A matching digest is not malware detection, a signature check, or proof that the expected source is trustworthy.
- Processing is local. Output is limited to 1,000,000 text characters unless a stricter file limit is stated.
Verify the five exact bytes in a small test file
Create a local UTF-8 file named hello.txt containing exactly hello, with no newline and no byte-order mark. Select that real file, choose SHA-256, and paste the expected digest shown below into the optional comparison field. Run the verifier. A five-byte file produces the displayed digest and Comparison: MATCH. If your editor appended a newline, File bytes and the digest will differ; that is a different byte sequence, not a hashing discrepancy. This manual file example is useful for understanding why visually identical text is not always the same file.
Exact contents of the local hello.txt file; no final newline
hello
Expected SHA-256 report
Algorithm: SHA-256 File bytes: 5 Digest: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 Comparison: MATCH
- The selected file is hashed. Renaming it alone does not change its content digest.
- For a real download, obtain the expected digest from a source you independently trust and select the same stated algorithm.
- A match does not prove authorship or absence of malware. The page supports bounded files and reads the complete buffer locally.
Common questions
Is this the same as hashing pasted text?
No. It hashes the exact original bytes, including non-text data and original line endings.
Is this input sent to a server?
No. The application processes this input inside your browser tab and does not save it to persistent storage.
Keep going with related tools
All files →SHA Hash Generator
Calculate SHA-256, SHA-384, or SHA-512 digests of exact UTF-8 text using Web Crypto.
FilesBinary File Comparator
Compare two local files byte-for-byte, reporting lengths, total mismatches and bounded differing offsets.
FilesDetached File Signature Workbench
Sign exact local file bytes or verify a detached signature with a supplied JWK.
DeveloperHTML Subresource Integrity Bundle Builder
Pair local HTML with exact JS and CSS file bytes, then download a source-preserving integrity-tagged HTML and asset bundle.
FilesLocal ID3 Metadata Reader
Read leading plain-header ID3v2.3 or ID3v2.4 text metadata and frame positions from a local file. Download bounded source evidence without playing audio.
FilesLocal Authenticated File Encryption
Encrypt or authenticate-decrypt one local file using a documented TJEF v1 AES-GCM password container, without uploading the bytes.