Hash Generator (MD5, SHA-256)

Calculate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files.

Runs in your browser Free
MD5—
SHA-1—
SHA-256—
SHA-384—
SHA-512—

Hashes are computed locally with the Web Crypto API.

What is a hash?

A hash is a fixed-length fingerprint of data. The same data always gives the same hash; change a single letter and the result is completely different. That's why hashes are used to verify downloads, compare data and build cache keys.

Supported algorithms

  • MD5 (for legacy compatibility)
  • SHA-1
  • SHA-256, SHA-384 and SHA-512

SHA hashes are computed with your browser's Web Crypto API. Type text or choose a file; the content is never sent to a server.

Security note

MD5 and SHA-1 are no longer considered secure. Store passwords with dedicated algorithms such as bcrypt, scrypt or Argon2.

How to use Hash Generator (MD5, SHA-256)

  1. Type text or choose a file.
  2. Hashes are calculated for every algorithm.
  3. Find the one you need.
  4. Copy it and compare with the expected hash.

Why use this tool?

Shows every common hash type on one screen for developers and sysadmins, and sensitive data stays on your device.

FAQ

Should I use MD5 for passwords?

No. MD5 and SHA-1 are broken for security; use them only as checksums.

Can a hash be turned back into the text?

No, hashing is one-way, but short and common inputs can be guessed with precomputed tables.

How do I hash large files?

Use the File Checksum Calculator, optimised for files.

Related tools