Calculator Need
Categories

Hash Generator

SHA-256, SHA-512 and MD5 digests from text or files.

MD5 is legacy only — not secure. It is here for checksums against old systems. Use SHA-256 or SHA-512 for anything security-related.

Runs entirely in your browser. Nothing you paste or upload leaves your device.

How to use the hash

  1. Type text, or choose a file under “Or hash a file”.
  2. Press “Generate hashes”.
  3. Read the SHA-256, SHA-512 and MD5 digests, and copy the one you need.

Hash example

The SHA-256 hash of the word "hello" starts 2cf24dba5fb0a30e… — change one letter and the whole hash changes.

Uses

  • Checking a downloaded file matches the publisher's checksum.
  • Detecting duplicate files or changed content.
  • Building cache keys or ETags.

Tips for using the hash

  • Never store passwords with plain SHA-256 or MD5; use bcrypt, scrypt or Argon2 with a salt.
  • Text hashes depend on exact bytes: a trailing space or line ending changes the result.

Hash: common questions

What is a hash?
A fixed-length fingerprint of some data. The same input always gives the same hash, and even a one-letter change gives a completely different one.
Why is MD5 marked “legacy only, not secure”?
MD5 has known weaknesses and can be faked. Use SHA-256 or SHA-512 when security matters.
Can I hash a file?
Yes. Choose a file and it is hashed in your browser — the file is never uploaded.
Is hashing the same as encryption?
No. A hash cannot be reversed to get the original text back.
Can a hash be reversed?
Not mathematically, but short or common inputs can be found by guessing, which is why passwords need slow, salted hashing.