Yo! Base64 Encode logoYo! Base64 Encode

Encode cannabis to Base64

Base64 result: Y2FubmFiaXM=

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: cannabis to Y2FubmFiaXM=

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
c01100011
a01100001
n01101110
n01101110
a01100001
b01100010
i01101001
s01110011

Step 2: Group Bits into 6-bit Chunks

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

011000 110110 000101 101110 011011 100110 000101 100010 011010 010111 0011

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011000Y
1101102
000101F
101110u
011011b
100110m
000101F
100010i
011010a
010111X
0011M

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

Related Conversion Tools
Encode History

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