Hexadecimal to Base64
Enter hex bytes (spaced or continuous) and get the Base64-encoded string in one click.
Last updated: May 29, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Hexadecimal to Base64?
Hexadecimal to Base64 parses a hex string into its underlying bytes and then Base64-encodes them. Input can be space-separated pairs (48 65 6C 6C 6F), colon-separated (48:65:6C), or a continuous hex string (48656C6C6F). All produce the same Base64 output.
How to Use Hexadecimal to Base64
Paste hex bytes into the input.
Click "Encode to Base64".
Toggle URL-safe if needed.
Copy the output.
Common Use Cases
- Encoding hex-formatted cryptographic keys or hashes for use in Base64-only APIs.
- Converting hex packet captures to Base64 for transmission in JSON payloads.
- Verifying encode/decode round trips between hex and Base64 representations.
Example Input and Output
Encoding "Hello" from hex to Base64.
48 65 6C 6C 6FSGVsbG8=Privacy
All processing runs in your browser. No data is sent to any server.

