Developer tool

Hash Generator & File Checksum Tool

Generate hashes for text or file checksums, choose an algorithm, and compare the resulting digest.

Presets:
HMAC Key:
Input Text / File Data 0 chars | 0 bytes
SHA-256
-
SHA-512
-
SHA-384
-
SHA-1
-
MD5
-
Compare Expected Checksum Hash:
Verification Result: -

How to use this tool

  1. Choose text or file mode and the required hash algorithm.
  2. Enter the exact text or select the file; use HMAC mode only when a shared key is required.
  3. Copy the digest and compare it against a trusted value produced with the same algorithm.

Example and use case

Two files with different byte contents normally produce different SHA-256 digests. Text line endings and encoding also affect the digest.

Limitations to check

MD5 and SHA-1 are not suitable for collision-resistant security uses. A checksum only helps establish authenticity when the expected digest comes from a trusted source. Fast hashes are not a password-storage scheme.

Processing and privacy

The tool's browser code handles entered text or selected files locally. Optional URL imports and external resources can make network requests. This website also uses third-party scripts, including analytics and advertising. Read the privacy policy and use sample data when testing sensitive workflows.

Found a problem? Report a tool issue with the browser version and steps to reproduce it. Avoid sending private document content or credentials.

Frequently asked questions

Can a hash be decoded?

A hash is a one-way digest, not an encoding. Weak or predictable inputs may still be guessed and compared.

Why do identical-looking text samples hash differently?

Hidden whitespace, line endings or different character encodings change the input bytes.

Should I use MD5 for security?

Avoid MD5 for collision-resistant security uses. Select an algorithm appropriate to the actual protocol and threat model.

Related tools