toolo.dev

SHA-256 Hash Generator

Generate a SHA-256 hash of text or a file, plus MD5, SHA-1, SHA-384, SHA-512 and HMAC. Paste a checksum or webhook signature to see which one matches.

Or drop a file here to hash it

Text is hashed as UTF-8. Hashing runs in your browser; your text and files are not uploaded.

About the Hash Generator

Use this SHA-256 hash generator to hash text or a file and get the MD5, SHA-1, SHA-384 and SHA-512 values next to it, computed in your browser as you type. Paste a checksum or a webhook signature into the compare box and it tells you which algorithm matches.

A hash is a fixed-length fingerprint of some bytes. The same input always gives the same hash, and one changed character gives a completely different one. Text is hashed as UTF-8. The SHA values come from your browser's Web Crypto API and MD5 from the crypto-js library, so nothing you type or drop here is uploaded.

  1. Paste the text you want to check into Text to hash. The five rows update a moment after you stop typing. With the box empty, they show the hashes of an empty string.
  2. To hash a file, drop it on the dashed area or click Choose file. Remove file brings the text box back.
  3. Need a signature rather than a plain hash? Put the secret in HMAC key (optional). The rows become HMAC-MD5, HMAC-SHA-256 and so on.
  4. Rows show lowercase hex. Turn on Uppercase for capital hex, or Base64 output for the Base64 form of the same bytes.
  5. Paste the value you want to check into Compare with a hash. The matching row turns green and the line under the field names it, for example Match: SHA-256. Spaces and a leading sha256= or sha-256: are ignored.
  6. Each row has its own copy icon, so you can grab just the SHA-256 or just the MD5.