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.
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.
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.
Yes — the - and _ characters are converted to + and / and missing padding is added before decoding.
Continuous or space-separated hex, upper or lower case, with an optional 0x prefix that is stripped automatically.