Hash Case Sensitive? Why Hello and hello Differ

Local only

Troubleshoot hash mismatches caused by uppercase and lowercase input differences.

5 chars · 1 line

Waiting for input

Loading hash algorithms…

Hash mismatch troubleshooting

Are hashes case-sensitive?

Yes. Hash functions process the exact input bytes, so changing H to h changes the input and therefore the digest. VetaTool hashes the text exactly as entered and does not lowercase it first. This tool is free to use. No account or payment is required.

Last updated

What you can do here

  • MD5 text digests
  • SHA-1 text digests
  • SHA-256 text digests
  • SHA-512 text digests
  • Exact text byte sensitivity
  • Browser-local hashing

Steps

  1. Hash the first value exactly as supplied.
  2. Compare uppercase and lowercase characters in the source text.
  3. Normalize case only when your application specification explicitly requires it.

Case changes the bytes being hashed

The UTF-8 byte for uppercase H differs from lowercase h. A cryptographic digest is deterministic for the same bytes, not for text that a person considers equivalent.

If two systems disagree, compare the original input before comparing hash libraries.

Hello vs hello SHA-256

Only the first letter changes, but the digest changes completely.

Input comparison

Hello
hello

SHA-256 digests

Hello: 185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969
hello: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

Common questions

Frequently asked questions

Does VetaTool lowercase text before hashing?

No. The entered text is hashed exactly as provided.

Can I compare hashes after lowercasing both inputs?

Only if your protocol or application explicitly defines that normalization step before hashing.

Debugging a specific Hash issue? Browse Hash troubleshooting.