WebToolsPlanet
Converter Tools

Base64 to Hexadecimal

Paste a Base64 string and convert it to hexadecimal — each decoded byte shown as a 2-digit hex value.

Last updated: May 29, 2026

Client-Side Processing
Input Data Stays on Device
Instant Local Execution

Find this tool useful? Support the project to keep it free!

Buy me a coffee

What is Base64 to Hexadecimal?

Base64 to Hexadecimal decodes a Base64-encoded string to its underlying bytes and then represents each byte as a 2-digit hexadecimal value (e.g., 48 65 6C 6C 6F). This is a common operation in debugging, cryptography, and network analysis when you need to inspect the raw bytes behind an encoded value.

How to Use Base64 to Hexadecimal

1

Paste your Base64 string into the input box.

2

Click "Convert to Hex".

3

Toggle uppercase or lowercase as needed.

4

Copy the hex output.

Common Use Cases

  • Inspecting Base64-encoded cryptographic hashes or keys in hex format.
  • Debugging encoded network payloads at the byte level.
  • Comparing Base64-encoded values against known hex signatures.

Example Input and Output

Decoding "Hello" (Base64: SGVsbG8=) to hex.

Base64
SGVsbG8=
Hex bytes
48 65 6C 6C 6F

Privacy

All processing runs in your browser. No data is sent to any server.

Frequently Asked Questions

What is the difference between Base64 and hex?
Both encode binary data as text. Hex uses 2 characters per byte (16 symbols: 0-9, A-F). Base64 uses ~1.33 characters per byte (64 symbols), making it ~25% more compact.
Can I get the output without spaces?
Currently the output uses space-separated values for readability. Copy the result and remove spaces with a text editor or the Remove Whitespace tool if you need a contiguous hex string.