SHA-256 Hash Generator

Get the SHA-256 hash of any text, in hex or Base64. SHA-256 is the usual choice for fingerprints, integrity checks and signatures.

Processed on your device. Files are not uploaded

How to get a SHA-256 hash

  1. Paste your text

    Paste or type it into the box, or press Try an example.

  2. Choose the format

    Hex or Base64, upper or lower case.

  3. Copy or download

    Use it to verify downloads or fingerprint data.

Worked example

This is what SHA-256 Hash Generator gives for its own sample values. Open the tool above and change anything to try your own.

Text to hash

Hello, Sarva!
Write the hash as
Hex (lower case)
Hash each line separately
No

SHA-256

701aece2e9e9f1b253a48f0ff6ef83453bb694fddde695a25709205066134448

About SHA-256 Hash Generator

Get the SHA-256 hash of any text, in hex or Base64. SHA-256 is the usual choice for fingerprints, file integrity, certificates and signatures.

FAQs

Is SHA-256 safe for passwords?

On its own it is too fast. Store passwords with a slow hash such as bcrypt, scrypt or Argon2, or PBKDF2 with many iterations.

How long is the result?

256 bits: 64 hex characters or 44 Base64 characters.

Can I hash a file?

Use File Hash Calculator.

Related tools