Hash Length Reference
Digest Sizes and Bytes — computed locally in your browser.
Hash digest sizes
Algorithms shown: 0
How to use the Hash Length Reference
- Search by algorithm name such as sha, blake or ripemd.
- Filter the table to show only broken or deprecated algorithms.
- Read the digest size in bits and bytes with the hex and Base64 lengths.
Features
- Nineteen common hash algorithms in one table
- Digest size shown in bits and bytes
- Hex and Base64 output lengths
- Block size and a security status column
Advertisement
Frequently Asked Questions
Common questions about the free online hash length reference.
An MD5 digest is 128 bits, which is 16 bytes, 32 hexadecimal characters or 24 Base64
characters including padding.
SHA-256 produces 256 bits, so 32 bytes, 64 hexadecimal characters or 44 Base64 characters
with the padding included.
Base64 packs six bits into each character while hex encodes only four, so Base64 output is
shorter than the hex form of the same digest.
MD5 is broken and SHA-1 is deprecated, so neither should be used for signatures, certificates
or password storage.
The block size is the internal chunk size of the compression function and it matters when you
build HMAC or other keyed constructs.
They are different designs with similar digest sizes. SHA-3 uses a sponge construction and is
not a drop in replacement for SHA-2.
They are checksums for detecting accidental corruption, not cryptographic hashes, so they
must never be used for security.
None of these directly. Use a slow password hash such as bcrypt, scrypt or Argon2 with a
unique salt per password.
Yes. Size a hexadecimal column at twice the byte length, or a Base64 column at about 1.4
times the byte length plus padding.
Last updated: October 10, 2026