Yo! Base64 Encode logoYo! Base64 Encode

Encode diazepam to Base64

Base64 result: ZGlhemVwYW0=

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: diazepam to ZGlhemVwYW0=

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
d01100100
i01101001
a01100001
z01111010
e01100101
p01110000
a01100001
m01101101

Step 2: Group Bits into 6-bit Chunks

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

011001 000110 100101 100001 011110 100110 010101 110000 011000 010110 1101

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011001Z
000110G
100101l
100001h
011110e
100110m
010101V
110000w
011000Y
010110W
11010

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

Related Conversion Tools
Encode History

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