Advertisement
Namecheap VPS hosting

Hash generator

Create MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text or file in one go. Use it to check that a downloaded file matches the checksum on the publisher's website, compare two files, or get a hash for your code. Paste a hash into the compare box to check it instantly. Files are read in your browser and never uploaded.

Make a hash of
Text is read as UTF-8. Spaces and new lines count.
AlgorithmHash

Advertisement
Namecheap VPS hosting

How to use the hash generator

  1. Choose Text or A file.
  2. Type or paste your text, or choose a file.
  3. Copy the hash you need from the table.
  4. To check a download, paste the published checksum into the compare box.

How it works

A hash function turns any amount of data into a short, fixed-length fingerprint. The same input always gives the same hash, and changing even one letter gives a completely different one.

AlgorithmLengthUse today
MD532 hex charactersQuick checksums only; not secure
SHA-140Old checksums and Git; not secure
SHA-25664File checksums, certificates, blockchains
SHA-38496Security uses that need a longer hash
SHA-512128Security uses that need a longer hash

The SHA hashes are made by your browser's built-in Web Crypto. MD5 isn't built into browsers, so this tool computes it with its own code, tested against standard values.

Text is turned into bytes as UTF-8 before hashing, which matches most programming languages and command-line tools. Note that a new line at the end of the text changes the hash.

Passwords: don't store passwords with plain MD5 or SHA hashes. Use a slow password hash such as bcrypt or Argon2.

Example

The text hello world (11 characters, no new line) gives:

AlgorithmHash
MD55eb63bbbe01eeed093cb22bb8f5acdc3
SHA-12aae6c35c94fcfb415dbe95f408b9ce91ee846ed
SHA-256b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9

Frequently asked questions

How do I check a downloaded file's checksum?

Choose A file and select the download. Then paste the checksum from the publisher's website into the compare box. If it says Match, the file is complete and unchanged.

Can a hash be reversed to get the original text?

No. Hashes are one-way. Short or common texts can sometimes be guessed by trying many inputs, which is why plain hashes are not safe for passwords.

Why does my hash differ from another tool?

Usually because of an extra space or a new line at the end of the text, or a different text encoding. This tool uses UTF-8 and hashes exactly what is in the box.

Is MD5 still safe to use?

Not for security. MD5 and SHA-1 can be broken to create two inputs with the same hash. They are still fine for spotting accidental changes, such as a broken download. Use SHA-256 for anything security-related.

Last updated: 29 October 2026