Yo! Base64 Encode logoYo! Base64 Encode

Encode fprintf to Base64

Base64 result: ZnByaW50Zg==

For encoded binaries (like images, documents, etc.) use the file upload form below.
Encode base64 strings in real-time as you type or paste.
Encoding Process: fprintf to ZnByaW50Zg==

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
f01100110
p01110000
r01110010
i01101001
n01101110
t01110100
f01100110

Step 2: Group Bits into 6-bit Chunks

The binary string is grouped into 6-bit chunks for Base64 encoding:

011001 100111 000001 110010 011010 010110 111001 110100 011001 10

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011001Z
100111n
000001B
110010y
011010a
010110W
1110015
1101000
011001Z
10g

When combined, these characters form the encoded string: "ZnByaW50Zg=="

Related Conversion Tools
Encode History

Your encode history will appear here. Start encoding to build your history!