Yo! Base64 Encode logoYo! Base64 Encode

Encode preceding to Base64

Base64 result: cHJlY2VkaW5n

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: preceding to cHJlY2VkaW5n

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
p01110000
r01110010
e01100101
c01100011
e01100101
d01100100
i01101001
n01101110
g01100111

Step 2: Group Bits into 6-bit Chunks

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

011100 000111 001001 100101 011000 110110 010101 100100 011010 010110 111001 100111

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011100c
000111H
001001J
100101l
011000Y
1101102
010101V
100100k
011010a
010110W
1110015
100111n

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

Related Conversion Tools
Encode History

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