Decode standard Base64 payloads into two-digit hexadecimal bytes for byte-level inspection, with a reverse mode for rebuilding Base64 from hex.
Last updated: August 2026 | By Workshelve Team
Whitespace and a leading data URL prefix are ignored.
00 01 02 03 fe ff
Base64 is designed to carry binary data through text-oriented systems, but it hides individual byte boundaries behind four-character encoding groups. Hex makes those bytes visible again: every decoded byte is shown as one two-digit value from 00 through ff.
That makes Base64 → HEX useful when you need to inspect an opaque API field, compare a decoded payload with a byte dump, identify a binary signature, or verify that a Base64 value contains the bytes you expect. The output is a space-separated byte sequence, so boundaries remain easy to read.
This page decodes standard Base64 as raw bytes. It does not assume the result is UTF-8 text, and it does not decrypt, decompress, or reinterpret the payload. Whitespace is ignored, and a leading data:...;base64, prefix is removed before decoding.
Base64 padding disappears during decoding because = is only part of the text encoding. The decoded hex contains the real bytes only.
Decode AAECA/7/ into hex:
The leading 00 and high-value fe/ff bytes are preserved exactly. No text interpretation is needed for the conversion.
Hex is safer when the decoded payload may be arbitrary binary data. It shows every byte directly, including null bytes and values that are not valid or printable text characters.
Each group represents exactly one byte. A byte ranges from 0 to 255, which maps cleanly to hexadecimal 00 through ff.
Padding belongs to the Base64 text representation, not to the underlying data. After decoding, only the original bytes remain, so there is no padding byte in the hex result.
Yes, when the input begins with a Base64 data URL prefix such as data:image/png;base64,. The prefix is removed and the Base64 payload after the comma is decoded.
No. Spaces, tabs, and line breaks are removed before decoding, which is useful for Base64 copied from wrapped text or formatted documents.
Not automatically. You can inspect the first decoded bytes for known file signatures, but this converter only exposes bytes; it does not classify the payload.
No. The decoder expects standard Base64. Base64URL uses a different alphabet and should be normalized to standard Base64 before using this mode.
Only the encoded bytes are revealed. If those bytes are encrypted, compressed, or structured in another binary format, that separate transformation still remains.
Related Tools
Convert HEX color codes into RGB color values.
Convert number base values.
Convert hexadecimal values into Base64 encoded data.
Convert binary values into hexadecimal numbers.
Convert hexadecimal values into binary numbers.
Convert CMYK color values into HEX color codes.