Developer tools

SHA-256 Hash Generator

Calculate the SHA-256 digest of text or a file.

Let’s get to work

Fill in the details below to get started.

BROWSER TOOL
Select a file or enter text; do not use both.

About SHA-256 Hash Generator

Compute a SHA-256 digest locally using Web Crypto. Hashes help compare data, but they are not a replacement for a password hashing algorithm.

How to use it

  1. Enter text or select a file.
  2. Calculate the SHA-256 digest.
  3. Copy the hexadecimal result for comparison.

Frequently asked questions

Can a hash be reversed?

SHA-256 is designed as a one-way hash, but predictable inputs can still be guessed and checked.

Should I hash passwords with plain SHA-256?

No. Use a purpose-built password hashing scheme with a unique salt, such as Argon2id, scrypt or bcrypt.