UUsefulCrate Your files never leave your browser

HomeTools › Hash Generator

Hash Generator

Generate a cryptographic digest of any text using your browser's own Web Crypto implementation — the same underlying primitives a server would use.

How to use it

  1. Paste the text you want to hash.
  2. Tick the algorithms you want — SHA-1 and SHA-256 are on by default.
  3. Press Generate. Each digest is shown in lower-case hexadecimal.

Why it stays private

People hash passwords, licence keys and tokens here. Those inputs are among the most sensitive strings there are, and hashing them on a remote server would defeat the purpose entirely, so this runs in the page.

Questions

Which algorithm should I use?

SHA-256 for almost everything. SHA-1 is included for compatibility with older systems and for checking existing checksums, but it is no longer collision-resistant and should not be used for anything new. SHA-384 and SHA-512 are available when a system specifies them.

Why does this need HTTPS?

The Web Crypto API, which provides these primitives, is only available in a secure context. On an HTTPS page — or on localhost — it works. On a plain HTTP page the browser hides it, and the tool will say so.

Can I reverse a hash?

No. A hash is a one-way function by design. For short or predictable inputs an attacker can try candidate values until one matches, which is why passwords should be stored with a slow, salted algorithm such as bcrypt or Argon2 rather than a plain hash.

← All tools