Hash Generator

Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text.

How the hash generator works

As you type, the text is encoded as UTF-8 and hashed with your browser's Web Crypto API, the same audited implementation browsers use for HTTPS. The hashes are shown in lowercase hexadecimal. Nothing is uploaded.

What hashes are used for

A hash is a fixed-length fingerprint of data. The same input always gives the same hash, and a one-character change gives a completely different one. That makes hashes useful for verifying downloads, detecting changed files, deduplicating data and signing software.

Frequently asked questions

Can a hash be reversed to get the original text?

No. Cryptographic hashes are one-way functions. Short or common inputs can still be found by guessing, which is why passwords need a slow, salted algorithm such as bcrypt or Argon2 rather than plain SHA-256.

Which algorithm should I use?

Use SHA-256 for general integrity checks. SHA-1 is broken for security purposes and is included only for compatibility with older systems.

Why is MD5 not offered?

MD5 is not part of the browser's Web Crypto API and is insecure. For checksums, SHA-256 is the modern replacement.

Related tools