Base64 to Hex Converter

Inspect binary payloads carried in Base64 without interpreting the bytes as a number. Decode the alphabet first, then display the resulting bytes as hexadecimal.

Input: Base64 textResult: Hexadecimal byte values

Text input

Run to see the result

Examples

Bitcoin genesis newspaper headline

Input

VGhlIFRpbWVzIDAzL0phbi8yMDA5IENoYW5jZWxsb3Igb24gYnJpbmsgb2Ygc2Vjb25kIGJhaWxvdXQgZm9yIGJhbmtz

Expected answer

54 68 65 20 54 69 6d 65 73 20 30 33 2f 4a 61 6e 2f 32 30 30 39 20 43 68 61 6e 63 65 6c 6c 6f 72 20 6f 6e 20 62 72 69 6e 6b 20 6f 66 20 73 65 63 6f 6e 64 20 62 61 69 6c 6f 75 74 20 66 6f 72 20 62 61 6e 6b 73
A registry credential from Kubernetes documentation

Input

dGlnZXI6cGFzczEyMzQ=

Expected answer

74 69 67 65 72 3a 70 61 73 73 31 32 33 34
A checksum-sensitive log line with a final newline

Input

ZXZlbnQ9ZGVwbG95IHN0YXR1cz1yZWFkeQo=

Expected answer

65 76 65 6e 74 3d 64 65 70 6c 6f 79 20 73 74 61 74 75 73 3d 72 65 61 64 79 0a
A French café in precomposed Unicode

Input

Y2Fmw6k=

Expected answer

63 61 66 c3 a9
A French café with a separate combining accent

Input

Y2FmZcyB

Expected answer

63 61 66 65 cc 81
Chinese text in a UTF-8 request body

Input

5L2g5aW977yM5LiW55WM

Expected answer

e4 bd a0 e5 a5 bd ef bc 8c e4 b8 96 e7 95 8c
A literal plus and space inside a URL parameter

Input

cmVsZWFzZSBub3RlcytBL0I/

Expected answer

72 65 6c 65 61 73 65 20 6e 6f 74 65 73 2b 41 2f 42 3f

How the result is produced

  1. Base64 Decoder
  2. Text & File to Hex Converter

Conventions and limitations

Hex preserves bytes, not character meaning. Check the Base64 alphabet and padding if a payload does not decode as expected.

Related tools

Browse data format tools