Developer Tools

Hash Generator (SHA-256 & more)

Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text — locally.

Tool

Hashes

About the Hash Generator

The Hash Generator runs entirely in your browser — your code and data never leave your machine. Paste, click, copy the result.

A cryptographic hash turns any text into a fixed-length fingerprint: same input always gives the same output, a one-way function (you cannot reverse it), and any tiny change to the input produces a completely different hash. This tool generates SHA-1, SHA-256, SHA-384 and SHA-512 using your browser's native Web Crypto API.

How to use this tool

  1. Paste the text to hash.
  2. Press Generate hashes.
  3. Copy one algorithm's value or grab all four at once.

Which algorithm should I use?

AlgorithmOutputUse today?
SHA-1160-bit⚠️ Broken for security — legacy only
SHA-256256-bit✅ Standard default (TLS, git, Bitcoin)
SHA-384384-bit✅ High-security systems
SHA-512512-bit✅ Large data, fast on 64-bit CPUs

What hashes are used for

  • Integrity checks: verify a downloaded file matches the publisher's checksum.
  • Passwords: store hashes (with salt + bcrypt/argon2 — plain SHA-256 is too fast for passwords).
  • Content addressing: git identifies objects by hash; blockchain transactions are hashed.
  • Deduplication: identical content = identical hash.

Note: hashing is not encryption. It is designed to be irreversible — that's a feature.

Who is this tool for?

Developers verifying checksums, students learning cryptography, and anyone confirming file integrity after a download.

Developer tip

For password storage never use bare SHA-256 — GPUs compute billions per second. Use bcrypt, scrypt or argon2 with a unique salt.

Frequently asked questions

No — MD5 is cryptographically broken and browsers don't ship it in Web Crypto. Use SHA-256 instead for all new work.
No — hashing runs via the built-in Web Crypto API entirely on your device.
That is the well-known constant for the empty input — a useful sanity check that your implementation matches the standard.

Related tools

Guides for this tool