Hash Generator

Generate SHA-1, SHA-256, and SHA-512 hashes from any text, using your browser's built-in cryptography engine.

How to Generate SHA Hashes

  1. Type or paste the text you want to hash into the box.
  2. Click "Generate Hashes".
  3. The SHA-1, SHA-256, and SHA-512 digests appear as hex strings in their own fields below.
  4. Click "Copy" next to any hash to copy just that value.

Frequently Asked Questions

Can I turn a hash back into the original text?

No — hashing is one-way by design. SHA-1, SHA-256, and SHA-512 are cryptographic hash functions, not encryption, so there is no decode step that recovers your original text from the hash; this tool only computes hashes, it never reverses them.

Which of the three hash algorithms should I use?

SHA-256 is a solid general-purpose default for things like verifying file integrity or generating checksums. SHA-1 is included mainly for compatibility with older systems and is considered cryptographically weak for security purposes today. SHA-512 produces a longer digest and is a reasonable choice when you want extra margin.

Why do all three hashes change completely if I add one character to the input?

That's the avalanche effect, a core property of cryptographic hash functions: changing even a single character in the input produces a completely different, unpredictable output, which is what makes hashes useful for detecting even tiny modifications to data.

Does this tool use a third-party hashing library?

No — it calls crypto.subtle.digest(), part of the Web Crypto API built into your browser, so the actual hashing is performed by the browser's own cryptography engine rather than a bundled script.

Is my text uploaded anywhere to compute the hash?

No — everything runs locally in your browser tab through the Web Crypto API, so nothing you type is sent to a server.