Skip to main content
{/}codefunc
Encoders & CryptoRuns locally

Hash Generator

Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes.

About this tool

Compute SHA-1, SHA-256, SHA-384, or SHA-512 digests from plaintext using the Web Crypto API. Useful for checksum checks, fixture digests, and comparing known hashes during debugging.

Not a password-hashing tool — production password storage needs bcrypt, Argon2, or similar with salting on the server. Read the browser hashing guide on the blog for HMAC vs digest tradeoffs.

Input never leaves your browser.

How to use

  1. Select SHA-1, SHA-256, SHA-384, or SHA-512 from Algorithm.
  2. Paste or type the input text in the Input editor.
  3. Click Hash to compute the digest with Web Crypto.
  4. Copy the hex Hash from the Output toolbar.

Example

SHA-256 checksum of a short string

Input

checksum-me

Output

ea5943363841d1932d98a4ce4c38365bda0d33701dcfc00422363ddf6d150001

Limitations

  • Not for password storage — use a dedicated password KDF (Argon2, bcrypt, scrypt) with salt.
  • SHA-1 is provided for legacy checksums only; prefer SHA-256+ for new integrity checks.
  • Hashes text as UTF-8; binary file checksums belong in `sha256sum` or similar CLI tools.

Related guides

1

Related tools

2

Frequently asked questions

Which hash algorithms are supported?

SHA-1, SHA-256, SHA-384, and SHA-512 via the Web Crypto API in your browser.

When should I use the Hash Generator?

To compare a plaintext value against a known digest, verify checksums during debugging, or generate hashes for test fixtures.

Is the Hash Generator free?

Yes. No signup required.

Is my input sent to a server?

No. Hashing happens locally on your device.

Is this suitable for password storage?

No. Password hashing for production should use purpose-built server-side algorithms (such as bcrypt or Argon2) with proper salting.

Search tools

Find a developer tool