A hash is one-way
The same input always produces the same digest, and there is no way back. That is what makes hashes useful for checking that a file arrived intact, and useless as a way to store something you need to read again.
Do not hash passwords this way
Plain SHA-256 is far too fast for password storage — a modern GPU tries billions per second. Passwords want a slow, salted function built for the job: bcrypt, scrypt or Argon2.
More calculators
Frequently asked questions
QWhy is the digest always the same length?
By design. SHA-256 always returns 256 bits, written as 64 hex characters, whether the input was one letter or a gigabyte.
QCan two inputs give the same hash?
In principle yes — there are more possible inputs than digests. In practice no one has produced a SHA-256 collision, and finding one deliberately is considered infeasible.
QDoes the text leave my browser?
No. The Web Crypto API in your browser does the hashing. Nothing is sent anywhere.