Yo! Base64 Encode logoYo! Base64 Encode

Encode grammar to Base64

Base64 result: Z3JhbW1hcg==

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: grammar to Z3JhbW1hcg==

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
g01100111
r01110010
a01100001
m01101101
m01101101
a01100001
r01110010

Step 2: Group Bits into 6-bit Chunks

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

011001 110111 001001 100001 011011 010110 110101 100001 011100 10

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011001Z
1101113
001001J
100001h
011011b
010110W
1101011
100001h
011100c
10g

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

Related Conversion Tools
Encode History

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