Base64 ↔ Hex Converter — Free Online Tool

Convert Base64 directly to hexadecimal and back without leaving your browser. Base64 ↔ Hex Converter is a free online tool from the ToolsRift Encoders & Decoders collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.

Loading Base64 ↔ Hex Converter

How to use Base64 ↔ Hex Converter

Pick a direction, then paste a Base64 string to get its hex bytes, or paste hex (with or without spaces / 0x) to get Base64. Whitespace is ignored.

Frequently asked questions

Why convert Base64 directly to hex?

Both encode the same bytes; going straight across saves you decoding to raw binary and re-encoding by hand when inspecting hashes, keys or tokens.

Does it accept URL-safe Base64?

Yes — the - and _ characters are converted to + and / and missing padding is added before decoding.

What hex formats are accepted?

Continuous or space-separated hex, upper or lower case, with an optional 0x prefix that is stripped automatically.

More Encoders & Decoders

Punycode / IDN Converter
RFC 3492 Punycode encode & decode for internationalized domain names (xn--)
ROT47 Cipher
ROT47 rotate all printable ASCII by 47 — symmetric encode & decode
ROT18 Cipher
ROT13 for letters plus ROT5 for digits — symmetric encode & decode
Numeric HTML Entities
Encode text to decimal/hex numeric HTML entities (&#NN;) and decode them back
URL Encode All Characters
Percent-encode every character as %XX — full-escape any string for URLs
Uuencode / Uudecode
Classic Unix uuencode & uudecode with begin/end wrapper for text payloads

← View all Encoders & Decoders