Hash Generator (SHA)

Compute SHA-1, SHA-256, SHA-384 or SHA-512 digests of any text using the browser's WebCrypto engine — the text never leaves your device.

Developer Tools 100% in your browser

How to use

  1. Paste the text to hash.
  2. Pick an algorithm (SHA-1, SHA-256, SHA-384 or SHA-512).
  3. Click Compute and copy the lowercase hex digest.

Example

Input: hello (SHA-256)

Output: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

How it works

The input is hashed with the selected algorithm (MD5, SHA-1, SHA-256 or SHA-512) using the Web Crypto API. The same input always produces the same hash; the hash cannot be reversed to recover the input.

Limits & compatibility

  • SHA family only — MD5 is not supported (it is cryptographically broken).
  • Hashing is one-way: digests cannot be reversed into the original text.
  • WebCrypto requires a secure context (HTTPS or localhost).

Privacy

Digests are computed by your browser's crypto engine. The input text is never sent to a server or stored.

Related tools

FAQ

Questions about Hash Generator (SHA)

Is my input private?

Yes. This tool runs entirely in your browser — your input never leaves your device, is never uploaded to a server and is never stored.

How accurate is the result, and what are the limits?

The tool page states its formula and limits openly. Check them before relying on a result, and verify anything consequential — financial, legal, medical or safety-critical — against an authoritative source.

What happens to files I open with this tool?

Files are processed locally in your browser and never uploaded; closing the tab discards them. Text tools never store what you paste — it lives only in the page while you use it.