Hash Generator

Hash Generator computes the cryptographic hash of any text using five algorithms at once — MD5, SHA-1, SHA-256, SHA-384 and SHA-512. Type your input and every digest updates live.

SHA hashes use your browser's built-in Web Crypto API; MD5 is computed with a local implementation. Your text is hashed entirely on your device and never sent anywhere.

Enter text above to see its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 digests at once.

How to use Hash Generator

  1. 1

    Enter your text

    Type or paste the text you want to hash into the box.

  2. 2

    Read the digests

    All five hashes appear instantly, one row per algorithm.

  3. 3

    Copy what you need

    Use the copy button next to any algorithm to grab its digest.

What is a hash?

A hash function turns input of any size into a fixed-length string of characters called a digest. The same input always produces the same digest, but even a one-character change produces a completely different result, and you cannot reverse a digest back into the original text.

These properties make hashes useful for verifying integrity (has this file changed?), indexing data, deduplication, and storing fingerprints of content without storing the content itself.

Which algorithm should I use?

SHA-256 is the sensible default for most modern uses: it is fast, widely supported, and considered secure. SHA-384 and SHA-512 offer longer digests for applications that require a larger security margin.

MD5 and SHA-1 are included for compatibility with older systems and for non-security tasks like checksums, but both are broken for cryptographic purposes and should never be used for passwords, signatures or anything where collision resistance matters.

Frequently asked questions

Is my text uploaded to compute the hash?
No. Hashing runs entirely in your browser, so the text you enter never leaves your device.
Should I hash passwords with this?
No. Plain hashes are unsuitable for passwords. Use a dedicated password hashing function like bcrypt, scrypt or Argon2 with a per-user salt.
Why is MD5 still here if it's broken?
MD5 remains useful for non-security checksums and for working with legacy systems that still rely on it. Just don't use it where collisions would be a problem.

Last updated: