Developer

SHA Checksum Tool

Calculate SHA-256 or SHA-512 checksums for text or local files without uploading files, and compare an optional expected hexadecimal digest.

Calculate checksum

Choose text or a local file. Files are read locally, never uploaded by this tool. Maximum file size is 16 MiB; text is limited to 100,000 UTF-16 units. HTTPS or trusted localhost is required.

Result

Enter your inputs and run the tool.

Method and assumptions

Web Crypto computes the digest from the exact bytes provided. Text uses TextEncoder UTF-8; files retain their original bytes. The displayed digest is lowercase hexadecimal. Expected checksums ignore only outer whitespace and hex letter case; all other characters and incorrect lengths are rejected. A mismatch is a completed comparison, not a processing error.

Worked examples

SHA-256 of abc

ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad

SHA-256 of empty text

e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Limits and useful checks

SHA is a digest, not encryption or a password-storage system. A matching checksum supports integrity only when the expected value comes from a trusted source. Web Crypto reads the full input into memory. Cancel discards a pending result; the browser may finish its underlying digest. Changed inputs invalidate old results. Textarea line endings are normalized by the browser; use file mode when exact original newline bytes matter. No file upload, network request or persistence is performed by this tool.

For corrections or suggestions, contact UtilTrove with a non-sensitive example.

Reference

MDN: browser digest algorithms and memory limits