Skip to content
Language:en

Hash generator and checksum checker

MD5, SHA-1, SHA-256, SHA-512 and CRC-32 of a text or a file, with HMAC and checksum comparison.

Source

Hashes

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

MD5 and SHA-1 are broken for security purposes; use them only to check old checksums.

Runs entirely in your browser. Your files never leave your device.

About this tool

A hash is a short fingerprint of some data: change one letter and the fingerprint changes completely. Type a text or drop a file and get its MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC-32 at the same time, in lowercase or uppercase hexadecimal or Base64.

To check a download, paste the checksum published by its author in the comparison box: the matching algorithm lights up. Developers can switch to HMAC mode to sign a message with a secret key, for example to test a webhook signature. Files are hashed on your device, even very large ones, and never uploaded.

How it works

  1. Choose “Text” and type, or “File” and drop a file.
  2. Read every hash, updated instantly.
  3. Optionally enable HMAC and enter a secret key.
  4. Paste an expected checksum to verify it, or copy the hash you need.

SHA hashes and HMAC use your browser’s built-in Web Crypto engine. MD5 and CRC-32, which Web Crypto does not provide, are computed by code written for this site and tested against the official test vectors.

Worked example

The word “hello” gives the SHA-256 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 and the MD5 5d41402abc4b2a76b9719d911017c592. Change it to “Hello” and both fingerprints are completely different.

To check a downloaded installer, drop the file and paste the SHA-256 published on the vendor’s site: if the line lights up, the file is exactly the one they published.

Good to know

  • Use SHA-256 for integrity checks; MD5 and SHA-1 are fine to detect accidental corruption but not deliberate tampering.
  • Hashes are not for storing passwords on their own; use a slow algorithm such as bcrypt or Argon2 for that.
  • A different line ending (Windows or Unix) changes the hash of a text: compare files, not copied text, when it matters.

Frequently asked questions

Which algorithm should I use?
SHA-256 for anything new: integrity checks, signatures, identifiers. MD5 and SHA-1 are only suitable to compare with old checksums, and CRC-32 only detects accidental corruption.
Can a hash be reversed to get the original text?
No, hashing is one-way. Short or common inputs can however be guessed by trying many candidates, which is why passwords must be stored with dedicated slow algorithms such as Argon2 or bcrypt, not plain SHA-256.
Why does my hash differ from another tool?
Usually because of invisible differences: a trailing line break, Windows line endings or a different text encoding. This tool hashes text as UTF-8 exactly as typed.
Is there a file size limit?
The file is read into memory, so the limit is your device’s RAM. Files of several hundred megabytes work on a typical computer.