MD5 & SHA Hash Generator

Generate MD5 and SHA hashes for text or files and verify checksums.

Free, no sign-upRuns in your browserWorks on any device
0
Input Length
0
Hash Length
—
File Status
Input Text Type or paste text to hash
Or upload a file to hash
MD5 Hash
Enter text to generate hash...
Compare Hash

About the MD5 & SHA Hash Generator

Hashes are fixed-length fingerprints of data. They are used to verify downloads, compare files and store data integrity checks. This tool generates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes.

Hash text or files of any type, compare against an expected checksum and copy the result. Hashing happens locally.

How to use the MD5 & SHA Hash Generator

  1. Enter text or choose a file.
  2. Select the hash algorithms.
  3. Generate the hashes.
  4. Copy the result or compare it with a checksum.

Key features

  • MD5, SHA-1, SHA-256, SHA-512
  • Text and file hashing
  • Checksum comparison
  • Uppercase or lowercase output

Choosing a hash algorithm

MD5 and SHA-1 are fast and still common for checksums, but they are broken for security: attackers can create different inputs with the same hash. Use SHA-256 or SHA-512 for anything security-related, such as verifying software downloads. For storing passwords, none of these are suitable on their own; use a slow password hash such as bcrypt.

A hash is always the same length regardless of input size, and changing a single character produces a completely different result. That property is what makes hashes useful for detecting changes.

Tips for the best results

  • Compare the hash of a download with the one published by the developer to confirm the file is genuine.
  • Hash files rather than their names; renaming a file does not change its hash.
  • Use the comparison box to avoid comparing long strings by eye.

Popular presets

Open the tool already set up for one of these common jobs:

Frequently asked questions

Is MD5 secure?

No. MD5 and SHA-1 are fine for checksums but should not be used for security. Use SHA-256 or better.

Can a hash be reversed?

No. Hash functions are one-way, although weak passwords can be guessed by trying many inputs.

How do I verify a download?

Hash the downloaded file and compare it with the checksum published by the provider.

Why do I get a different hash than another tool?

Check for trailing spaces or line breaks in the text, and make sure both tools use the same encoding (UTF-8).

Related developer tools

View all →