Yo! Base64 Encode logoYo! Base64 Encode

Encode xanax to Base64

Base64 result: eGFuYXg=

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: xanax to eGFuYXg=

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
x01111000
a01100001
n01101110
a01100001
x01111000

Step 2: Group Bits into 6-bit Chunks

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

011110 000110 000101 101110 011000 010111 1000

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011110e
000110G
000101F
101110u
011000Y
010111X
1000g

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

Related Conversion Tools
Encode History

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