SHA-256 Hash Generator

Paste UTF-8 text or pick a file, then read lowercase hex and Base64 of the same 32-byte digest. Web Crypto runs in this tab. Files stop at 10 MiB; text over 256 KiB uses Calculate hash. Copy hex or Base64. Nothing is uploaded.

  1. Choose file
  2. Set options
  3. Get result
Fast digests (SHA-1, SHA-256, MD5, etc.) are not for storing passwords. For password hashing use bcrypt, scrypt, or Argon2 with a unique salt per user.

Hashing runs in your browser tab. Nothing is uploaded.

Generate a SHA-256 digest from UTF-8 text or a local file. GustKit shows lowercase hex and standard Base64 of the 32-byte hash. Everything runs with Web Crypto in your browser tab. Nothing is uploaded.

SHA-256 of text or a file, in the tab

Web Crypto hashes UTF-8 text or a local file. You get lowercase hex, 64 characters, and Base64 of the same 32 bytes. Files stop at 10 MiB. Text over 256 KiB waits for “Calculate hash”. This is not a password vault.

Hex and Base64 from the same 32 bytes

The hex line is lowercase and 64 characters long. Base64 encodes those same digest bytes, not the original text. Short text updates as you type. Past 256 KiB of UTF-8, press “Calculate hash”.

A file up to 10 MiB, still local

Open the “File” tab and pick a file on the device. Above 10 MiB the page refuses it. The digest is not stored as a password list.

How to compute a SHA-256 digest here

  1. Stay on “Text” and paste, or open “File” and pick a file from the device.

  2. A file larger than 10 MiB is refused. Text over 256 KiB does not run by itself.

  3. When the text is over 256 KiB, press “Calculate hash”. Shorter text fills hex and Base64 as you type.

  4. Press “Copy hex” or “Copy Base64”. Both describe the same 32 bytes. Nothing is kept as a vault.

A digest you can compare, not a vault

  • Lowercase hex, 64 characters

    The hex form is the usual way to compare a SHA-256 digest.

  • Base64 of those bytes

    Base64 is the same 32-byte digest, not a second algorithm.

  • UTF-8 text or a file

    Text is hashed as UTF-8. A file is hashed as its bytes, up to 10 MiB.

  • Calculate when it is large

    Over 256 KiB, “Calculate hash” runs the digest so the tab stays responsive.

  • Stays in the tab

    Web Crypto runs here. The file is not uploaded.

  • Not a password vault

    The page does not store secrets. SHA-256 here is a digest, not a place to keep passwords.

Questions about the SHA-256 tool

How long is the hex?

64 lowercase characters, from the 32-byte digest.

Is Base64 a different hash?

No. It is the same 32 bytes written as Base64.

What if the file is over 10 MiB?

The page refuses it. The limit is 10 MiB.

Why did the button appear?

Text over 256 KiB shows “Calculate hash” instead of updating on every keystroke.

Can I save passwords here?

No. This is not a password vault, and it does not keep what you paste.

Is the file uploaded to be hashed?

No. Web Crypto hashes it in this tab.

Text or file input for SHA-256

InputWhen to use it
TextHash a string as UTF-8. Short text updates as you type. Past 256 KiB, press Calculate hash.
FileHash the file bytes on the device. The page refuses files larger than 10 MiB.