RunOfflineTools Logo RunOfflineTools
🔢 Hexadecimal & Byte Decoding

Base64 to Hex Converter

Decode Base64 strings into formatted Hexadecimal byte arrays with customizable byte spacing and letter casing.

Mode:
Base64 Input
Hexadecimal Output

Converting Base64 to Hexadecimal

Inspect binary byte arrays, cryptographic checksums, and network payloads by transforming Base64 strings into clean hexadecimal notation.

Frequently Asked Questions

How do I convert a Base64 string to Hexadecimal bytes?

Paste your Base64 string into the input box. The tool decodes each 6-bit Base64 character into raw 8-bit bytes and displays them as a two-digit hexadecimal string with optional byte spacing.

Why is Base64 to Hex conversion useful in cryptography?

Cryptographic keys, hashes (SHA-256, MD5), and digital signatures are often shared as Base64 strings or Hex digests. Converting between Base64 and Hex helps verify signatures and inspect byte sequences.

Can I customize the output with spaces or uppercase characters?

Yes! Use the checkboxes to toggle spaces between byte pairs (e.g. '48 65 6c' vs '48656c') and switch between uppercase and lowercase hex.

Is my data sent to any server?

No, 100% private in-browser conversion.

How many hex characters correspond to one Base64 character?

Base64 uses 6 bits per character, while Hexadecimal uses 4 bits per character. Therefore, 4 Base64 characters (24 bits / 3 bytes) translate to 6 Hex characters (3 bytes).

Can I convert URL-safe Base64 to Hex?

Yes, our decoder handles both standard and URL-Safe Base64 ('-' and '_').