Yo! Base64 Encode logoYo! Base64 Encode

Encode cocaine to Base64

Base64 result: Y29jYWluZQ==

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: cocaine to Y29jYWluZQ==

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
c01100011
o01101111
c01100011
a01100001
i01101001
n01101110
e01100101

Step 2: Group Bits into 6-bit Chunks

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

011000 110110 111101 100011 011000 010110 100101 101110 011001 01

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011000Y
1101102
1111019
100011j
011000Y
010110W
100101l
101110u
011001Z
01Q

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

Related Conversion Tools
Encode History

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