Yo! Base64 Encode logoYo! Base64 Encode

Encode macros to Base64

Base64 result: bWFjcm9z

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: macros to bWFjcm9z

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
m01101101
a01100001
c01100011
r01110010
o01101111
s01110011

Step 2: Group Bits into 6-bit Chunks

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

011011 010110 000101 100011 011100 100110 111101 110011

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011011b
010110W
000101F
100011j
011100c
100110m
1111019
110011z

When combined, these characters form the encoded string: "bWFjcm9z"

Related Conversion Tools
Encode History

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