Encoding
FILE 07#️⃣

Hash Generator

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

// Text to hash

MD5
SHA-1
SHA-256
SHA-384
SHA-512

What is a hash generator?

A cryptographic hash function turns any input — a word, a password, a whole document — into a fixed-length string of characters called a hash or digest. The same input always produces the same hash, but even a tiny change to the input produces a completely different one, and the process cannot be reversed to recover the original text. This tool generates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from any text instantly.

Everything is computed locally in your browser using the native Web Crypto API (with a self-contained MD5 implementation), so the text you type is never uploaded to a server.

The hash algorithms compared

  • MD5 — 128-bit, fast, but cryptographically broken. Fine for checksums, never for security.
  • SHA-1 — 160-bit, also deprecated for security due to collision attacks.
  • SHA-256 — 256-bit, part of the SHA-2 family and the modern default for integrity and signing.
  • SHA-384 / SHA-512 — larger SHA-2 variants offering greater output size and margin.

Common uses

Hashes are used to verify file integrity (comparing a downloaded file's hash to the published one), to fingerprint data, to index content, and as building blocks inside digital signatures and password storage schemes.

Important: a plain hash is not a safe way to store passwords on its own. Real password storage uses slow, salted algorithms such as bcrypt, scrypt or Argon2. Use MD5 and SHA-1 only for non-security checksums, and prefer SHA-256 or stronger everywhere security matters.

// Frequently asked questions

Are my inputs sent to a server?+

No. All hashing happens locally in your browser, so the text you enter never leaves your device.

Which hash should I use?+

Use SHA-256 or stronger for anything security-related. MD5 and SHA-1 are acceptable only for non-security checksums.

Can a hash be reversed?+

No. Hash functions are one-way. However, weak hashes of common inputs can be looked up in precomputed tables, which is why salting matters for passwords.

Why is MD5 considered broken?+

Practical collision attacks let different inputs produce the same MD5 hash, so it can't be trusted for security — only for basic checksums.

What is the difference between encoding and hashing?+

Encoding (like Base64) is reversible and meant for transport. Hashing is one-way and meant for integrity and fingerprinting.

// Other instruments