Yo! Base64 Encode logoYo! Base64 Encode

Encode zhang to Base64

Base64 result: emhhbmc=

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: zhang to emhhbmc=

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
z01111010
h01101000
a01100001
n01101110
g01100111

Step 2: Group Bits into 6-bit Chunks

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

011110 100110 100001 100001 011011 100110 0111

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011110e
100110m
100001h
100001h
011011b
100110m
0111c

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

Related Conversion Tools
Encode History

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