Hash Generator

Generate SHA-1, SHA-256 or SHA-512 hashes of any text. Free and private, computed entirely in your browser.

Paste any text and instantly get its SHA-1, SHA-256, and SHA-512 digests, handy for verifying file integrity, generating checksums, checking Git-style hashes, or building test fixtures without installing a CLI tool.

How to use it

  1. Type or paste your text into the input box
  2. Read off the SHA-1, SHA-256, and SHA-512 digests generated instantly
  3. Click any hash to copy it to your clipboard

Frequently asked questions

Which hash algorithm should I use?
SHA-256 is the standard choice for checksums and verifying file/text integrity today. SHA-1 is weaker and mostly around for compatibility with older systems (Git commit hashes, legacy APIs). Avoid it for anything security-sensitive. SHA-512 gives a longer digest and is common in signing and high-security contexts.
Why does adding a single space change the hash completely?
That's the avalanche effect: these algorithms are designed so any change to the input, even one character, produces a completely different, unpredictable output. It's what makes hashes useful for detecting tampering.
Can I use this to check if two pieces of text are identical?
Yes. Hash both and compare the digests. If they match, the text is byte-for-byte identical; this is faster than eyeballing long strings and catches invisible differences like trailing whitespace or line-ending changes.
Is this the same hash Git or password systems use?
Git uses SHA-1 (moving to SHA-256) for commit and object IDs, so this tool can reproduce those. For passwords, don't use raw SHA-256/512. Those are fast hashes meant for checksums, not password storage, which needs a slow, salted algorithm like bcrypt or Argon2.