Quick answer
Valid hashes are hexadecimal strings with the correct length for the algorithm.
Invalid Hash Format
Valid hashes are hexadecimal strings with the correct length for the algorithm. Invalid characters or wrong length cause validation to fail.
Common causes
- Non-hex characters (spaces, letters outside a-f, special chars).
- Wrong length for the chosen algorithm.
How to fix
- Use only 0-9 and a-f (or A-F). Strip spaces and newlines.
- Check length: MD5=32, SHA-1=40, SHA-256=64, SHA-384=96, SHA-512=128.
Examples
Bad
ghijkl
Good
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
FAQ
- What is a valid hash?
- A string of hex characters (0-9, a-f) with length matching the algorithm.
Fix it now
Try in validator (prefill this example)