SHA-256 Hash Generator

Generate secure SHA-256 cryptographic hash values.

Make the SHA-256 hash of any text: a 64-character hex fingerprint used for checksums, digital signatures, blockchains and API request signing. Type or paste text and the hash appears as you type, in lowercase or uppercase. Paste an expected hash to check it matches. Hashing uses your browser's Web Crypto API, and the text is hashed exactly as typed in UTF-8.

Text is encoded as UTF-8 before hashing. The values shown are the hashes of an empty string. Line breaks and trailing spaces change the result.

Common use cases

  • Check a value against a published SHA-256 hash
  • Make a content fingerprint or cache key
  • Test code that signs or hashes strings

How to use

  1. Type or paste the text.
  2. Copy the hash.
  3. Optionally paste an expected hash to compare.

FAQ

Is SHA-256 safe for passwords?

Not on its own: it's designed to be fast, which makes guessing easy. Use bcrypt, scrypt or Argon2 for passwords.

How do I hash a file?

Use the SHA-256 checksum tool, which reads files of any size locally.