Skip to content
AZ Tools

Hash Generator (SHA)

Compute cryptographic hashes of any text — SHA-1, SHA-256, SHA-384 and SHA-512, shown together as hexadecimal — using your browser's built-in Web Crypto API. A hash is a fixed-length fingerprint of its input: the same text always yields the same digest, while changing a single character produces a completely different one, which makes hashes ideal for verifying integrity, comparing content and building checksums. Your input is encoded as UTF-8 and processed locally, so you can hash sensitive strings without them leaving your device. Remember that hashing is one-way and is not encryption — you cannot recover the original text — and for storing passwords a deliberately slow algorithm such as bcrypt is preferred over a plain SHA digest.

How to use

  1. Type or paste your text into the input.
  2. All hashes are computed instantly.
  3. Copy any hash with its Copy button.
  4. Compare against an expected checksum to verify integrity.

Frequently asked questions

Is MD5 supported?
No. The Web Crypto API doesn't include MD5; this tool offers the secure SHA family instead.
Are hashes computed locally?
Yes. Hashing uses your browser's Web Crypto API; nothing is sent to a server.
Is the input encoded as UTF-8?
Yes, text is encoded as UTF-8 before hashing, so results match standard tools.
Can I hash a file?
This tool hashes text. File hashing may be added as a separate tool later.
Which hash algorithm should I use?
For general integrity checks, SHA-256 is the standard, well-supported choice. SHA-1 is considered weak against deliberate collisions and is best avoided for new security uses, though it is fine for non-security checksums. SHA-384 and SHA-512 produce longer digests with a larger security margin.
Can I turn a hash back into the original text?
No. Hashing is one-way by design — there is no inverse function. Identical inputs always produce the same hash, but you cannot derive the input from the output, which is exactly what makes hashes useful for verification without exposing the data.

Guides on this topic

Related tools