Base64 vs hex
What this is
Hex is readable and double the size. Base64 is compact and opaque. Hex wins for debugging short hashes; Base64 wins for protocols (SMTP, HTTP). Hashes on this site’s hash tool are hex by convention; JWT segments are base64url.
Open the encoder — UTF-8 and base64url, no upload.
FAQ
- Length formula?
- Base64 length is 4 × ceil(n / 3), plus padding. Hex length is 2n.