Yo! Base64 Encode logoYo! Base64 Encode

Encode ambien to Base64

Base64 result: YW1iaWVu

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: ambien to YW1iaWVu

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
a01100001
m01101101
b01100010
i01101001
e01100101
n01101110

Step 2: Group Bits into 6-bit Chunks

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

011000 010110 110101 100010 011010 010110 010101 101110

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011000Y
010110W
1101011
100010i
011010a
010110W
010101V
101110u

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

Related Conversion Tools
Encode History

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