Nifty Dev Tools
  1. Home
  2. Hash Generator
Generate

Fingerprint any text with the common hash algorithms, all at once.

Text
Hashes

Type something above and its hashes will show up here ✨

What's a hash?

A hash turns any text into a short, fixed-length fingerprint. The same text always gives the same hash, and changing even one character changes it completely. Hashes are used to check that a download wasn't corrupted, to compare data, and as building blocks in security.

How to use it

  1. Type or paste text. All hashes update as you type (the text is hashed as UTF-8).
  2. Pick Hex or Base64 output; hex can be uppercase. Your choice is remembered.
  3. Press Copy next to the hash you need.

Example

Hello, Nifty Dev Tools! has this SHA-256 hash:

f002314fed28ea69600fc547a167d1c33dec73965e7a79210fb41e921b4020ea

(Try it: change one letter and the whole hash changes.)

Which one should I use?

AlgorithmLengthUse it for
SHA-25664 hex charsThe safe default for checksums and integrity checks
SHA-384 / SHA-51296 / 128 hex charsWhen a longer hash is required
SHA-140 hex charsLegacy systems and git object IDs only, not security
MD532 hex charsQuick checksums of old files, not security

Storing passwords? Don't use any of these directly. Use a password hashing function like Argon2, bcrypt or scrypt.

FAQ

Why doesn't my hash match the one from my terminal?

Usually a hidden line break. echo "hi" | sha256sum hashes hi plus a newline; use echo -n or printf to leave it out. Here, a line break counts only if you typed one.

Is my text uploaded?

No. Hashing happens in your browser, using its built-in Web Crypto for SHA and a small local implementation for MD5.