Yo! Base64 Encode logoYo! Base64 Encode

Encode gandhi to Base64

Base64 result: Z2FuZGhp

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: gandhi to Z2FuZGhp

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
g01100111
a01100001
n01101110
d01100100
h01101000
i01101001

Step 2: Group Bits into 6-bit Chunks

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

011001 110110 000101 101110 011001 000110 100001 101001

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011001Z
1101102
000101F
101110u
011001Z
000110G
100001h
101001p

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

Related Conversion Tools
Encode History

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