Hash Generator (MD5, SHA-256)

Free hash generator: create MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files up to 500 MB and verify a checksum. Nothing is uploaded.

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

MD5 and SHA-1 are broken for security use (collisions can be made). Use them only to check downloads or find duplicates; for anything security-related use SHA-256 or stronger. Never store passwords as a plain hash.

Everything happens in your browser. Nothing is uploaded.

Create MD5, SHA-1 and SHA-256 hashes in your browser

A hash function turns any text or file into a short, fixed-length fingerprint. Change a single character and the fingerprint changes completely, but the same input always gives the same result. That makes hashes useful for checking that a download was not corrupted or tampered with, spotting duplicate files and comparing data without storing it. This tool calculates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at the same time, for text or for a file, and can compare the result with a checksum you paste in.

How to use it

  1. Choose Text or File as the input.
  2. Type or paste text (it is hashed as UTF-8), or click Choose a file. Files up to 500 MB are read on your device and never uploaded.
  3. All five hashes appear at once. Tick Uppercase letters if the checksum you are matching uses capitals, and press Copy next to any line.
  4. To verify a download, paste the publisher’s value into Compare with a checksum (optional). The tool tells you which algorithm matches, or that none does.

Which algorithm should you use?

  • MD5 (128-bit, RFC 1321) and SHA-1 (160-bit) are fast and still common on download pages, but both are broken for security: researchers can create two different files with the same hash. Use them only for error checks and finding duplicates.
  • SHA-256 (256-bit, part of the SHA-2 family in FIPS 180-4) is today’s standard choice for checksums, software signatures and blockchains.
  • SHA-384 and SHA-512 are longer SHA-2 variants. They are not needed for most checks but are fine to use when a site publishes them.
  • Hashes are one-way: you cannot turn a hash back into the original text. Even so, never store passwords as a plain hash; password storage needs a slow, salted method such as bcrypt, scrypt or Argon2.

Worked example

Type the three letters abc in the text box. The tool shows MD5 900150983cd24fb0d6963f7d28e17f72, SHA-1 a9993e364706816aba3e25717850c26c9cd0d89d and SHA-256 ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. These are the official test values printed in RFC 1321 and the SHA standard, so you can use them to confirm the tool is working. Now type abd instead: every hash changes completely, even though only one letter differs.

Verifying a download step by step

Many software sites list a SHA-256 value next to each installer. Download the file, choose it here, and paste the listed value into the compare box. A match means the file you have is byte-for-byte the one the publisher hashed. A mismatch means the download is incomplete or has been changed, so do not run it. Make sure you copy the checksum from the official site, not from a mirror, because an attacker who changes the file can also change a checksum on the same page. Upper and lower case do not matter when comparing.

Working with encoded data? The Base64 Encoder & Decoder converts text and files to Base64, and the Password Generator creates strong random passwords.

Frequently asked questions

Is my file uploaded?

No. Files and text are processed in your browser. Nothing is sent to a server.

Can a hash be reversed?

No. Hashes are one-way. Short or common inputs can still be guessed by trying many values, which is why passwords need special slow hashing.

Why are MD5 and SHA-1 still offered?

Many download pages and older systems still publish them. They are fine for spotting accidental corruption but not for security.

Why does my hash differ from another tool?

Usually the input differs: an extra space, a line break at the end or a different text encoding. This tool hashes text as UTF-8 exactly as typed.

Is SHA-256 the same as SHA-2?

SHA-2 is the family; SHA-256, SHA-384 and SHA-512 are members of it with different output lengths.

Is there a file size limit?

Up to 500 MB. Very large files may take a few seconds on slower devices.