Skip to content

Hash Generator

Compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text or file at once, and verify downloads by comparing checksums. Runs in your browser.

Free No sign-up Updated

Hashes

How to use Hash Generator

  1. 1 Type or paste text, or choose Hash a file to compute a checksum of any file.
  2. 2 MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes are calculated at the same time.
  3. 3 Copy the hash you need, in lowercase or uppercase.
  4. 4 To verify a download, paste the expected checksum in Compare — a match turns green.

Common uses for hashes

  • Verify downloads: compare the SHA-256 checksum published by a software vendor with the file you downloaded.
  • Detect changes: the same file always has the same hash, so different hashes mean different content.
  • Development: generate cache keys, ETags and content identifiers.
  • Deduplication: find identical files by comparing their hashes.

Which algorithm should I use?

Use SHA-256 for most purposes — it is fast, widely supported and secure. SHA-512 gives an even longer digest. MD5 and SHA-1 are fine for quick integrity checks but should not be used for security. To encode data rather than fingerprint it, use the Base64 Encoder & Decoder.

Frequently asked questions

What is a hash?

A hash function turns any input into a fixed-length fingerprint. The same input always gives the same hash, and changing a single character changes it completely. Hashes are used to verify downloads, detect changes and index data.

How do I verify a file checksum?

Hash the file you downloaded and paste the checksum published by the provider (usually SHA-256) into Compare. If they match, the file is complete and has not been altered.

Is MD5 or SHA-1 secure?

No longer for security. Both have known collision attacks, so use SHA-256 or SHA-512 for anything security related. MD5 is still fine for quick, non-security checks.

Should I hash passwords with SHA-256?

No. Passwords must be stored with slow, salted algorithms such as bcrypt, scrypt or Argon2. Fast hashes like SHA-256 can be brute-forced quickly.

Are my text and files uploaded?

No. Hashes are computed in your browser with the Web Crypto API. Files of any type up to 200 MB stay on your device.

Related tools