Yo! Base64 Encode logoYo! Base64 Encode

Encode arg to Base64

Base64 result: YXJn

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: arg to YXJn

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
a01100001
r01110010
g01100111

Step 2: Group Bits into 6-bit Chunks

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

011000 010111 001001 100111

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011000Y
010111X
001001J
100111n

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

Related Conversion Tools
Encode History

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