What is a hex to Base64 encoder?
A hex to Base64 encoder converts hexadecimal byte values into Base64. Use it when a debugger, hash tool, certificate utility, or binary inspector gives you hex and another system expects Base64.
How to use it
- Paste spaced, continuous, or
0x-prefixed hex bytes. - The tool removes separators and validates that the number of digits is even.
- Copy the Base64 output.
Example
Input: 48 65 6C 6C 6F
Output: SGVsbG8=
Common mistakes
- Hex must represent whole bytes, so it needs an even number of digits.
- Do not paste decimal byte values into this tool.
- If you need readable text first, decode the hex elsewhere or use a text encoder.
Related tools
- Reverse the conversion with Base64 to hex.
- Encode plain text with Text to Base64.
- Work with hex text using the Hex converter.
Privacy and security
Hex parsing and Base64 encoding run locally in your browser.