Yo! Base64 Encode logoYo! Base64 Encode

Encode variable to Base64

Base64 result: dmFyaWFibGU=

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: variable to dmFyaWFibGU=

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
v01110110
a01100001
r01110010
i01101001
a01100001
b01100010
l01101100
e01100101

Step 2: Group Bits into 6-bit Chunks

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

011101 100110 000101 110010 011010 010110 000101 100010 011011 000110 0101

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011101d
100110m
000101F
110010y
011010a
010110W
000101F
100010i
011011b
000110G
0101U

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

Related Conversion Tools
Encode History

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