Yo! Base64 Encode logoYo! Base64 Encode

Encode rarely to Base64

Base64 result: cmFyZWx5

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: rarely to cmFyZWx5

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
r01110010
a01100001
r01110010
e01100101
l01101100
y01111001

Step 2: Group Bits into 6-bit Chunks

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

011100 100110 000101 110010 011001 010110 110001 111001

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011100c
100110m
000101F
110010y
011001Z
010110W
110001x
1110015

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

Related Conversion Tools
Encode History

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