Yo! Base64 Encode logoYo! Base64 Encode

Encode python to Base64

Base64 result: cHl0aG9u

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: python to cHl0aG9u

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
p01110000
y01111001
t01110100
h01101000
o01101111
n01101110

Step 2: Group Bits into 6-bit Chunks

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

011100 000111 100101 110100 011010 000110 111101 101110

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011100c
000111H
100101l
1101000
011010a
000110G
1111019
101110u

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

Related Conversion Tools
Encode History

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

Encode other common words to Base64, each runs instantly in your browser.