Skip to content

Hash Generator (MD5, SHA-256, SHA-512)

Hash any text and see MD5, SHA-1, SHA-256, SHA-384 and SHA-512 digests side by side. Runs in your browser. Not for storing passwords.

tag Hash Generator
42 characters • 42 bytes

fingerprint Computed Cryptographic Digests

SHA-256 Industry Standard · Recommended
256-bit • 64 Hex Characters
Calculating...
SHA-512 High Security
512-bit • 128 Hex Characters
Calculating...
SHA-384 384-bit • 96 Hex Characters
Calculating...
SHA-1 Legacy / Git Checksums
160-bit • 40 Hex Characters
Calculating...
MD5 Checksums & Cache Keys Only
128-bit • 32 Hex Characters
Calculating...

What this tool does

Type or paste text and the page shows five digests at once: MD5, SHA-1, SHA-256, SHA-384 and SHA-512. Each one has a copy button. The values update as you type.

The hashing runs in your browser, so the text isn’t sent to the server.

How to use it

  1. Type or paste the text to hash.
  2. Read the five digests, which update as you type. Switch on Uppercase Hex if you need capital letters.
  3. Press the copy button next to the digest you need.

Which algorithm for which job

  • SHA-256 is the sensible default for checksums and integrity checks.
  • SHA-384 and SHA-512 are longer SHA-2 variants. They are fine, and SHA-512 can be faster on 64-bit machines.
  • SHA-1 is marked as legacy for good reason. Practical collision attacks exist, so don’t use it where an attacker could choose the input. It still appears in older systems and in Git.
  • MD5 is also broken for security. It is still used to compare files against a published checksum or to make cache keys, where nobody is attacking it.

Do not use these for passwords

A plain hash of a password is not a safe way to store it. These algorithms are fast, which makes guessing fast. Use a password hashing function such as bcrypt, scrypt or Argon2. In WordPress and PHP that means password_hash() and wp_hash_password().

What this tool hashes

It hashes the text you paste, as UTF-8. It does not hash files, and it doesn’t compute HMACs with a key. Small differences, like a trailing newline or different line endings, change the result completely, which is the usual reason two hashes don’t match.

Can I hash a file?

No. This tool hashes pasted text only.

Why doesn’t my hash match someone else’s?

Check for a trailing newline, Windows line endings, or a different text encoding. Any difference changes the whole hash.

Is MD5 safe?

Not for security. It is fine for checksums and cache keys where no one is trying to forge a collision.

Can I reverse a hash to get the text back?

No. Hashes are one-way. Short or common inputs can be guessed by trying them, which is why plain hashes are bad for passwords.

Which hash algorithms does it support?

MD5, SHA-1, SHA-256, SHA-384 and SHA-512, shown side by side, with an option for uppercase hex.