Hex to Base64
Paste hexadecimal bytes in almost any notation (48656c6c6f, 48 65 6C, 0x48,0x65, \x48\x65 or 48:65:6c) and convert them to Base64. Hashes, keys and binary dumps are commonly shortened this way: Base64 is 33% shorter than hex.
How to convert Hex to Base64 online
- Paste your hex string.
- Click Convert Hex to Base64.
Hex vs Base64
Hex uses 2 characters per byte while Base64 uses about 1.33, so a SHA-256 hash is 64 hex characters but only 44 in Base64. Both are just different text representations of the same bytes.
Frequently asked questions
How do I convert hex to Base64?
Paste the hex value and click "Convert Hex to Base64". Separators and prefixes are removed automatically.
Comments (0)
Questions, ideas or a bug in “Hex to Base64”? Leave a comment, rate the tool, or reply to others.
No comments yet. Be the first to share your feedback!