Yo! Base64 Encode logoYo! Base64 Encode

Encode pennsylvania to Base64

Base64 result: cGVubnN5bHZhbmlh

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: pennsylvania to cGVubnN5bHZhbmlh

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
p01110000
e01100101
n01101110
n01101110
s01110011
y01111001
l01101100
v01110110
a01100001
n01101110
i01101001
a01100001

Step 2: Group Bits into 6-bit Chunks

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

011100 000110 010101 101110 011011 100111 001101 111001 011011 000111 011001 100001 011011 100110 100101 100001

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011100c
000110G
010101V
101110u
011011b
100111n
001101N
1110015
011011b
000111H
011001Z
100001h
011011b
100110m
100101l
100001h

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

Related Conversion Tools
Encode History

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