Yo! Base64 Encode logoYo! Base64 Encode

Encode tehran to Base64

Base64 result: dGVocmFu

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: tehran to dGVocmFu

Step 1: Map ASCII Characters to Binary

ASCII CharacterBinary Value
t01110100
e01100101
h01101000
r01110010
a01100001
n01101110

Step 2: Group Bits into 6-bit Chunks

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

011101 000110 010101 101000 011100 100110 000101 101110

Step 3: Convert Binary to Base64

Binary ValueBase64 Character
011101d
000110G
010101V
101000o
011100c
100110m
000101F
101110u

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

Related Conversion Tools
Encode History

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