Developer Tools

Hash Generator

MD5 and SHA-1 are legacy algorithms and not suitable for security.

Calculate commonly used hashes from text in one tool. Choose MD5, SHA-1, SHA-256, SHA-384 or SHA-512 with the switch and copy the result directly. SHA-256, SHA-384 and SHA-512 are the recommended choices for modern integrity checks. MD5 and SHA-1 are legacy algorithms and unsuitable for security, but can still be useful for legacy checksums or non-adversarial duplicate detection. The calculation happens entirely in your browser: nothing is sent to our server and nothing is stored.

What people use this for

  • (empty text) → e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  • hello → 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
  • Westcube → SHA-256: 3f41cda1d5956056e052198d4e255ec967752d85ce67ac861e492653f8560404

What others think of this tool

No reviews for this tool yet. Yours would be the first.

Frequently asked questions

What is SHA-256 and what is it used for?

SHA-256 is a cryptographic hash function from the SHA-2 family that converts any input into a fixed 256-bit output (shown as 64 hexadecimal characters). It's used everywhere you need to verify that data hasn't been altered: checksums for file downloads, commit hashes in Git, blockchain technology, digital signatures, and signing API requests. Because the hash changes completely with the smallest change in input, any accidental or deliberate modification becomes immediately visible.

Can a SHA-256 hash be reversed back into the original text?

No, and that's exactly the point. SHA-256 is a one-way function: there is no mathematical operation to compute the original input back from the hash. This is fundamentally different from encodings like Base64, which you can trivially reverse with a decoder. The only practical path back is brute-forcing — trying every possible input until you find a match — which is computationally infeasible for arbitrary text. Note that for passwords you shouldn't use plain SHA-256 but a slow, salted hash function like bcrypt or Argon2 instead (SHA-256 is deliberately fast, which makes it unsuitable against brute-force attacks on passwords).

What's the difference between SHA-256 and MD5?

Both are hash functions, but MD5 (128-bit output, 32 hex characters) has been considered cryptographically broken for years: practical methods exist to find two different inputs that produce the same MD5 hash (a 'collision'). SHA-256 (256-bit output) is significantly more collision-resistant and is the current standard for applications where integrity and security matter. Only use MD5 for non-critical purposes like a quick duplicate check; for anything with a security component, SHA-256 (or higher) is the right choice.

Is my text stored before the hash is calculated?

No. The calculation happens entirely locally in your browser via your device's Web Crypto API (`crypto.subtle.digest`). Nothing is sent to any Westcube server (or anyone else's), nothing is logged, and nothing is retained. Close the tab and both your input and the hash are gone.