Skip to content

Hash Generator

Generate hashes from text.

0 hex charsSHA-256

Digests come from the Web Crypto API, so the text is hashed in this tab and never leaves the page.

Generate a hash

  1. [01]

    Type or paste the text you want to hash into the input box.

  2. [02]

    Choose an algorithm from the ALGORITHM menu: SHA-1, SHA-256 or SHA-512.

  3. [03]

    Read the hash on the right and click [ COPY ] to put it on your clipboard.

  4. [04]

    Use [ CLEAR ] to empty both boxes and start a new value.

// SHA-1, SHA-256 or SHA-512

  • >SHA-1 — A 40-character digest. Fast and widely recognised, but weaker than the SHA-2 family — use it only for compatibility.
  • >SHA-256 — A 64-character digest and the usual default for integrity checks and signatures.
  • >SHA-512 — A 128-character digest that is longer and, on 64-bit machines, often faster than SHA-256.

// A digest you can check against

IN

hello

OUT

SHA-256 → 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

Lowercase "hello" always hashes to that exact SHA-256 value, so you can verify a copy matches the original.

// When no digest appears

A digest that never fills in usually means the browser refused the Web Crypto API, which happens on insecure origins — hashing needs HTTPS or localhost. If two digests differ, the inputs differ by at least one character.

// Questions about this tool

Is my text uploaded anywhere?

No. The hash is computed in your browser tab; the text never leaves the page.

Which algorithm should I use?

SHA-256 is a safe general choice. Use SHA-512 when a longer digest is required, and SHA-1 only when a legacy system demands it.

Can I hash a file, not just text?

This tool hashes text. To checksum a file you would read its bytes first; paste or type that content here to hash it.

Can the original text be recovered from a hash?

No. Hashing is one-way. You can confirm two texts match, but you cannot turn a hash back into the text.

Does it support MD5?

Not in this browser-based tool. Web Crypto provides SHA-1, SHA-256 and SHA-512; MD5 is not available here.