Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text. Runs in your browser, no upload.

MD5
Awaiting input
SHA-1
Awaiting input
SHA-256
Awaiting input
SHA-384
Awaiting input
SHA-512
Awaiting input

Generate SHA hashes in your browser

This free hash generator computes MD5, SHA-1, SHA-256, SHA-384, and SHA-512 digests of any text, all at once, right in your browser. All five hashes update live as you type, and every byte of work happens locally, so your input never leaves your device.

No signup, no limits, no ads. Type once and copy any digest.

How to use it

  1. Type or paste your text into the box.
  2. Read the five digests, which recompute on every keystroke.
  3. Copy the one you need with the button on its row.

Common use cases

  • Verifying downloads. Compare the SHA-256 of a file's contents against the checksum a project publishes.
  • Fingerprinting data. Produce a stable, fixed-length identifier for a blob of text or config.
  • Cache keys and dedup. Hash content to detect duplicates or build a content-addressed key.
  • Integrity checks. Confirm that a value has not changed by comparing its hash before and after.
  • Matching known hashes. Compute a digest to check it against one you were given.

What a cryptographic hash does

A hash function takes input of any length and produces a fixed-size digest. Good cryptographic hashes are one-way (you cannot recover the input), deterministic (the same input always yields the same digest), and avalanche-prone (a tiny change to the input completely changes the output). Those properties make hashes ideal for verifying integrity and fingerprinting. They are not encryption and not a substitute for password hashing, which needs a deliberately slow, salted algorithm.

Frequently asked questions

Is my text uploaded to compute the hash?
No. Hashes are computed in your browser with the Web Crypto API (SubtleCrypto). Your input never leaves your device, so you can safely hash sensitive strings.
Which algorithms are supported?
MD5, SHA-1, SHA-256, SHA-384, and SHA-512. All five are computed at once as you type, so you can copy whichever your task needs.
Is MD5 safe to use?
MD5 is included for checksums and legacy compatibility, not for security. It is cryptographically broken, so collisions can be forged: never use it for passwords, signatures, or anything where an attacker could craft a colliding input. It is still perfectly fine for matching a file against a published MD5 checksum or as a fast non-security fingerprint. When you need security, use SHA-256.
Is a hash reversible?
No. A cryptographic hash is one-way: you cannot recover the input from the digest. That is the point. So-called hash crackers do not reverse anything, they just hash many guesses and compare, which is why slow, salted password hashes exist.
Should I hash passwords with this?
Not for storage. Plain SHA hashes are too fast for password storage; use a purpose-built, salted, slow algorithm like bcrypt, scrypt, or Argon2 on your server. This tool is for integrity checks, fingerprints, and verifying known digests.
Will the same text always give the same hash?
Yes. Hashing is deterministic, so identical input always produces an identical digest. Even a one-character change produces a completely different hash, which is what makes hashes useful for detecting tampering.

Other tools you might like