Hash Generator (SHA)

Compute SHA-1, SHA-256, SHA-384 and SHA-512 with Web Crypto, in hex or Base64, optionally all at once.

Runs in your browser: input and output are never sent to the server, and the platform does not store your input.

Input

Not stored

Output

Fill in the fields on the left, then run.

How to use

  1. 1Paste the text to hash; it is encoded as UTF-8 before hashing.
  2. 2Pick an algorithm and output encoding, or tick the box to show them all.
  3. 3Copy the result to compare against a checksum.

FAQ

Why is there no MD5?

The browser's Web Crypto does not implement it. Rather than bundling an implementation, the tool leaves it out — MD5 is unfit for anything new. To read an existing MD5 checksum, use a command-line tool.

Why is SHA-1 still here?

Reading existing data still needs it — git object ids, for one. It has practical collision attacks, so never use it for signatures or integrity checks.

Can I use this to store passwords?

No. The SHA family is designed to be fast, which is exactly what makes brute-forcing easy. Use bcrypt, scrypt or Argon2, which are deliberately slow and salted.

Can it hash a file?

Only text for now. For files, use your system's own command (shasum -a 256 on macOS and Linux, CertUtil on Windows).

Is my input uploaded?

No. Hashing uses the browser's built-in Web Crypto; the input never leaves your device.