How to use this tool
Choose Text or File and the hash algorithm. Enter text or select one file, then calculate. Paste the expected hexadecimal checksum to compare it without recalculating. Copy hash copies only the digest.
Generate a SHA-256 or SHA-512 hash from text or a file and compare an expected checksum. Free, private and processed locally in your browser.
● Your files stay yoursLoading converter…
Reload converterChoose Text or File and the hash algorithm. Enter text or select one file, then calculate. Paste the expected hexadecimal checksum to compare it without recalculating. Copy hash copies only the digest.
Files up to 20 MiB (20,971,520 bytes); text up to 1,000,000 UTF-16 code units. Files are read into memory, never uploaded. Text uses UTF-8 without a byte-order mark, preserves spaces and uses browser textarea line endings (LF). Empty text and empty files have valid hashes. Requires Web Crypto over HTTPS. No MD5, SHA-1, HMAC or password hashing.
Select File, choose your file and SHA-256, then calculate. Paste the publisher’s expected hash. A matching checksum can help detect download corruption, but its authenticity depends on the source of the expected hash.
No. The calculation uses file contents, not its name or filesystem dates. Editing embedded metadata changes the file bytes and therefore normally changes its hash.
Encoding, a byte-order mark, trailing spaces and CRLF versus LF line endings can change the bytes. Text mode encodes the textarea as UTF-8 with LF line endings; File mode reads the original bytes.
Hashing is not encryption and there is no decryption key. A hash cannot be used to recover an arbitrary original file or text.
No. General-purpose SHA-256 and SHA-512 hashes are not password-storage schemes. This utility calculates checksums and does not add salts, key stretching or authentication.