Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes of text or a file, and check a download against a published checksum. Files are hashed in your browser and never uploaded.

  • Free, no signup
  • Runs in your browser
  • Reviewed October 14, 2026

Input

Hashes

  • MD5—
  • SHA-1—
  • SHA-256—
  • SHA-384—
  • SHA-512—

MD5 and SHA-1 are no longer safe for security uses such as passwords or signatures. Use SHA-256 or stronger.

Verify a checksum

How to use the Hash Generator

  1. Choose Text or File.
  2. Type or paste text, or choose a file up to 512 MB.
  3. Copy the hash you need. Tick Uppercase if your system expects capital letters.
  4. To verify a download, paste the checksum from the publisher's site into the Verify box. A matching algorithm is highlighted.

How it works

SHA-1, SHA-256, SHA-384, and SHA-512 are computed with the browser's Web Crypto API (crypto.subtle.digest), which implements the SHA standards in FIPS 180-4.

Web Crypto does not include MD5, so MD5 is implemented in this page following RFC 1321 and checked against the RFC's published test vectors.

Text is hashed as UTF-8 bytes. The same text always produces the same hash, and changing a single character produces a completely different one.

"hello world"
MD5     5eb63bbbe01eeed093cb22bb8f5acdc3
SHA-1   2aae6c35c94fcfb415dbe95f408b9ce91ee846ed
SHA-256 b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9

Worked example: checking a downloaded installer

Software publishers often list a SHA-256 checksum next to each download. Choose the downloaded file, paste the published checksum into the Verify box, and the tool tells you whether it matches.

A match means the file is identical to the one the publisher hashed. A mismatch means the file is incomplete, corrupted, or different, and should not be run.

Limitations

  • MD5 and SHA-1 are broken for security: attackers can create different files with the same hash. Use them only for legacy checksums, never for passwords or signatures.
  • Hashing is not encryption. A hash cannot be reversed, but short or common inputs can be guessed by trying many candidates.
  • Do not store passwords as plain SHA hashes. Use a slow password-hashing algorithm such as Argon2, bcrypt, or scrypt.
  • Files are read fully into memory; very large files may fail on devices with little RAM.

Frequently asked questions

Which hash should I use?

SHA-256 for general integrity checks and anything security-related. MD5 and SHA-1 only when a legacy system requires them.

Can a hash be decrypted?

No. Hash functions are one-way. Online lookup sites only find hashes of common inputs they have already computed.

Why does my hash differ from another tool's?

Usually because of hidden differences in the input: a trailing newline, different line endings (CRLF vs LF), or a different text encoding.

Is my file uploaded?

No. It is read and hashed in your browser.

Related guides

Suggestions welcome

Need a tool that is not here yet?

Tell us what you are trying to do. Requests and bug reports shape what we build next.

Suggest a tool