Base64 to Hex

Convert any Base64 string to lowercase hexadecimal — lossless, byte-level, in your browser.

Lossless conversion

Decodes Base64 to raw bytes, re-encodes as hex — byte-perfect.

Real-time output

Hex appears as you type or paste, no Convert button needed.

Private by design

Runs entirely in your browser — safe for keys and hashes.

When to convert Base64 to hex

Many cryptographic tools — OpenSSL, Wireshark, debuggers — display binary data as hex, while APIs and JSON payloads typically deliver the same data as Base64. Converting between the two lets you compare hashes, inspect certificates, or paste payloads into byte-oriented tools.

Going the other way? Use the Hex to Base64 tool.

Frequently asked questions

How do I convert Base64 to hex?

Paste your Base64 string into the input above. The tool decodes the Base64 back to raw bytes and re-encodes those bytes as a lowercase hexadecimal string — instantly.

What's the relationship between Base64 and hex?

They're two different ways to encode the same underlying bytes. Base64 uses 64 characters and is ~33% larger than the raw bytes; hex uses 16 characters and is exactly 2× the byte length. Both are reversible and lossless.

Is the hex output uppercase or lowercase?

Lowercase by default (e.g. 48656c6c6f). Most tools accept either, and you can uppercase the output yourself if a downstream system requires it.

Does this work for binary data, not just text?

Yes. The conversion is byte-level, so any Base64-encoded payload — images, certificates, hashes, encryption keys — converts cleanly to hex.

Is my data uploaded?

No. Everything runs in your browser. Base64 and hex conversions happen in JavaScript using atob and standard byte arrays — nothing leaves your device.

Part of our growing tool belt — all client-side, all free.