Hash Generator

Calculate the SHA hash of any text — to compare values, check data or test your own code. The hash is calculated on your device.

Result

How to use

  1. Type or paste your text.
  2. Choose the algorithm (SHA-256 is the most common).
  3. Click Copy to copy the hash.

How it works

The text is converted to UTF-8 bytes and hashed with the browser's Web Crypto API. The result is shown in hexadecimal. The same text always gives the same hash, and any small change gives a completely different one.

Frequently asked questions

Is there an MD5 option?

No. MD5 is broken and should not be used for anything security-related, and browsers do not include it. Use SHA-256 instead.

Can a hash be reversed?

No. A hash is one-way. That is why websites store password hashes instead of passwords (with extra protections like salting).

Why is SHA-1 still listed?

Some older systems, such as Git, still use it. Do not use SHA-1 for new security work.

More tools