Hash generator (SHA-256 & more)

Hash any text with SHA-1/256/384/512 locally using your browser's WebCrypto. Useful for checksums and verification.

How to use the hash generator (sha-256 & more)

  1. Paste your text.
  2. Pick an algorithm (SHA-256 is the default).
  3. Copy the resulting hash.

About hashing

A hash is a one-way fingerprint: the same input always produces the same fixed-length output, but you can't reverse it. It's used for file integrity checks and verification. SHA-256 is the sensible default; avoid MD5 and SHA-1 for security purposes since they're broken for collision resistance. Everything is computed in your browser with WebCrypto.

Code & API examples

Use this from the command line or your code.

Shell (sha256)
echo -n "your text" | sha256sum
Python
import hashlib
print(hashlib.sha256(b'your text').hexdigest())

See all endpoints at /api/tools/.

Frequently asked questions

A one-way fingerprint of data — the same input always produces the same fixed-length output, but you can't reverse it back to the input.

SHA-256 is the sensible default for integrity checks. Avoid MD5 and SHA-1 for security purposes; they're considered broken for collision resistance.
Want to hide your IP for real?

vpn.golf is a no-logs WireGuard VPN. Pick a hole, take the shot.

Step up to the tee — free