CodeUtils
Loading…

Compute cryptographic hash digests from text input or uploaded files. Supports SHA-256, SHA-512, SHA-1, and MD5 entirely in the browser.

Use Cases

  • Verifying a downloaded file matches its published checksum
  • Generating a deterministic key from a string for caching or deduplication
  • Producing content-addressable identifiers for data integrity checks
  • Comparing hashes to detect whether two files are identical

Example

Input
The quick brown fox
Output
SHA-256:
5cac4f980fedc3d3f1f99b4be3472c9b
30d56523e632d7ed2a09a68c2a5b4de6

FAQ

Is SHA-1 or MD5 safe to use?

Not for security purposes — both are cryptographically broken. Use them only for non-security checksums such as cache-busting.

Can it hash files without uploading them?

Yes. Files are read locally using the File API — nothing leaves your browser.