Nifty / Tools / Encode & decode

SHA-256 Hash Generator

Get the SHA-256 hash of text as hex. Text is hashed as UTF-8, the same as most programming languages do.

sha256-hash-generator
TextDrop a file here
SHA-256 hash
Loading…

Runs in your browser. Nothing you paste is uploaded or stored.

How to use the SHA-256 Hash Generator

  1. Type or paste text on the left.
  2. Pick the algorithm, and tick One hash per line to hash a list of values separately.
  3. Copy the hash.

Questions

Is it safe to hash a password here?

The hash is computed in your browser and nothing is sent anywhere. But plain MD5, SHA-1 or SHA-256 isn't a safe way to store passwords: use bcrypt, scrypt or Argon2 for that.

Why doesn't my hash match?

A trailing newline or space changes the hash completely. Check whether the other tool includes one, and that both use UTF-8.

Can I hash text in VS Code?

Yes. Nifty Text's MD5, SHA-1 and SHA-256 Hash commands replace the selection with its hash.

Related tools