SHA-256 Hash Generator

How to use 3 steps
  1. Enter the Text String to Hash.
  2. Press Generate SHA-256 Hash.
  3. Press Copy Hash.

Read the full guide

Computed SHA-256 Checksum Hash
Loading the tool… 0 of 3 parts

Getting the tool ready. On a slow connection this can take a few seconds.

How this tool works

SHA-256 reduces any input to a fixed 256-bit fingerprint, written as sixty-four hexadecimal characters. The same input always produces the same digest, and any change at all — one character, one bit — produces a completely different one. It is one-way by design: there is no operation that turns a digest back into the text it came from.

The hashing is done by the browser's own cryptography implementation rather than by code shipped with the page, which means it is the same audited implementation the rest of the platform uses. That API is only available in a secure context, so the tool needs the page to be served over HTTPS.

What SHA-256 is right for

  • It verifies integrity, not identity: comparing a file's digest against a published one tells you the file was not altered in transit. It says nothing about who produced it unless the digest itself came from a trusted source.
  • It is the wrong tool for storing passwords: SHA-256 is designed to be fast, which is exactly the property an attacker guessing passwords wants. Password storage needs a deliberately slow function such as bcrypt or Argon2.
  • The digest is fixed length whatever the input: one character or a gigabyte both produce sixty-four hex characters. Digest length tells you nothing about the size of what was hashed.
  • Identical inputs give identical digests: which is what makes hashing useful for deduplication and caching, and also why hashing an unsalted value does not conceal it — a common value can simply be looked up.

Full guide

2 min read

What a SHA-256 hash actually proves, and what it does not

Matching a file's digest against a published one confirms it was not altered — it says nothing about who made it. Why this is the wrong tool for storing a password, and why the same input always produces the same digest, for better and for worse.

Read the guide

Frequently Asked Questions

Specific to the SHA-256 Hash Generator. Broader questions about this category are answered on the category page.

No. There is no operation that recovers the input. Short or common inputs can be found by guessing and comparing, which is not the same as reversing.
No. SHA-256 is fast, which helps an attacker guessing at scale. Use bcrypt or Argon2, which are deliberately slow.
The digest is always 256 bits, written as sixty-four hexadecimal characters, regardless of how much went in.
No. It uses the browser's own cryptography implementation, in the page. Nothing leaves your device.
MD5 is broken — two different inputs can be made to produce the same digest. SHA-256 has no such practical weakness and should be used instead.

Subscribe to receive notifications about new tools, features, and productivity tips.