SHA-256 hash generator

Generate SHA-256, SHA-1 and SHA-512 hashes of any text.

Algorithm

Last updated: October 2026 · Report a calculation error

What is a SHA-256 hash?

A hash function turns any data into a fixed-length string — for SHA-256 that is 256 bits, written as 64 hexadecimal characters. The same text always gives the same hash, and the smallest change gives a completely different one. You can’t recover the data from the hash.

Example: SHA-256 of “abc” is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad, while “Abc” starts with 06d90109c8cce34e… — one capital letter changes everything.

What it’s used for

  • Checking that a downloaded file hasn’t been altered — compare its hash with the one the author publishes.
  • Digital signatures, certificates and blockchains all rely on SHA-256.
  • Finding duplicates and checking data integrity.

SHA-1, SHA-256 or SHA-512?

SHA-1 (40 characters) is considered obsolete — practical collisions have been known since 2017. Use SHA-256 or SHA-512 for new work. Plain hash functions aren’t enough for storing passwords — use deliberately slow algorithms such as bcrypt, scrypt or Argon2.

Frequently asked questions

Can SHA-256 be decrypted?

No — it isn’t encryption but a one-way function. Simple inputs (like common passwords) can still be guessed by comparing their hashes with precomputed tables.

Is my text sent anywhere?

No — the hash is calculated by your browser’s Web Crypto API.

See alsoWhole category

  1. IT-01Base64 encoder and decoderEncode text to Base64 or decode a Base64 string back to text.
  2. IT-02JSON formatter and validatorBeautify or minify JSON, check that it is valid and see exactly where a syntax error is.
  3. IT-03HEX / RGB / HSL color converterConvert colors between HEX, RGB and HSL with a live preview.
  4. IT-05Unix timestamp converterConvert Unix timestamps to dates and dates to timestamps, in seconds or milliseconds.