← All tools

SHA-256 hash generator

Type some text or choose a file and get the SHA hashes. Your data never leaves this computer.

Action

What is a hash?

A hash function produces a fixed-length "fingerprint" from data of any size. SHA-256 always gives a 64-character hexadecimal value. The same data always gives the same hash, and changing a single letter or byte gives a completely different one. Going back from the hash to the original data is practically impossible.

What it is used for

File verification: when you download a program or an ISO image, the publisher often lists its SHA-256 value. Calculate the hash of your download here and compare; if they match, the file arrived complete and unaltered. The same method tells you whether two files are identical without opening them.

Software development: the SHA family is used for API signatures, cache keys, data integrity checks and blockchains.

Which one to choose

SHA-256 is the standard choice today. SHA-384 and SHA-512 produce longer hashes. SHA-1 and MD5 are no longer considered secure, because two different files with the same hash can be created. SHA-1 is offered only for compatibility with older systems; MD5 is not available here because it is not among the browser's secure hash functions.

Note: for storing passwords, use deliberately slow methods such as bcrypt, scrypt or Argon2 rather than plain SHA-256. Files up to 200 MB are processed in your browser and never uploaded.

How to use it

  1. Type text into the box or use Choose file to pick a file.
  2. The SHA-1, SHA-256, SHA-384 and SHA-512 hashes appear together.
  3. Optionally turn on UPPERCASE and copy the result.

Frequently asked questions

Is MD5 supported?

No. The secure digest functions in browsers support the SHA family: SHA-1, SHA-256, SHA-384 and SHA-512.

Is my file uploaded?

No. The file never leaves your computer and the hash is computed in your browser. Files up to 200 MB can be chosen.

Is hashing the same as encryption?

No. A hash is one-way and cannot be reversed. It is used to check whether a file has changed.

Related tools