Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text, in your browser.

Hashes update as you type. Nothing is uploaded.

Hashing is not encryption and a hash is not a secret — short or common inputs are recovered instantly from precomputed tables. For passwords use a slow, salted algorithm such as bcrypt, scrypt or Argon2 rather than any of these.

Runs entirely in your browser — nothing you paste is uploaded or stored.

About hash generator

A hash is a fixed-length fingerprint of some input. The same input always produces the same hash, and changing a single byte changes the result completely — which is what makes hashes useful for comparing files, verifying downloads and detecting change.

Hashing is one-way and not encryption: there is no key and no way to reverse it. That does not make a hash secret, though — short or common inputs are trivially recovered from precomputed tables.

Good to know

  • SHA-1, SHA-256, SHA-384 and SHA-512 are computed with the browser's built-in Web Crypto implementation. MD5 is not offered by Web Crypto, so it is computed in JavaScript here.
  • MD5 and SHA-1 are both broken for security purposes — deliberate collisions are practical. They remain fine for non-adversarial checksums, and are included because plenty of systems still hand them out.
  • Never use a raw hash to store passwords. Password hashing needs a slow, salted algorithm such as bcrypt, scrypt or Argon2; a bare SHA-256 of a password is cracked at billions of guesses per second.

Frequently Asked Questions

Related Tools