Hex to Base64 Encoder

code
Loading feedback…

Paste hex bytes from a hash, signature, binary header, or debugger and encode them as Base64.

Last updated: May 12, 2026Author: Mateo DíazReviewed by: Riley Williams
Hex to Base64 Encoder
In-browser
Convert hexadecimal bytes into Base64
Characters: 14Words: 5Sentences: 0Lines: 1
Characters: 0Words: 0Sentences: 0Lines: 0

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

  1. Paste spaced, continuous, or 0x-prefixed hex bytes.
  2. The tool removes separators and validates that the number of digits is even.
  3. 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

Privacy and security

Hex parsing and Base64 encoding run locally in your browser.