Encode agencies to Base64
Base64 result: YWdlbmNpZXM=
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: agencies to YWdlbmNpZXM=
About the '=' Padding
Base64 encoding requires the input length (in bytes) to be divisible by 3. If it's not, padding is added: One '=' character is added when the input length modulo 3 equals 2. This ensures the encoded output is properly aligned.
Step 1: Map ASCII Characters to Binary
| ASCII Character | Binary Value |
|---|---|
| a | 01100001 |
| g | 01100111 |
| e | 01100101 |
| n | 01101110 |
| c | 01100011 |
| i | 01101001 |
| e | 01100101 |
| s | 01110011 |
Step 2: Group Bits into 6-bit Chunks
The binary string is grouped into 6-bit chunks for Base64 encoding:
011000 010110 011101 100101 011011 100110 001101 101001 011001 010111 0011
Step 3: Convert Binary to Base64
| Binary Value | Base64 Character |
|---|---|
| 011000 | Y |
| 010110 | W |
| 011101 | d |
| 100101 | l |
| 011011 | b |
| 100110 | m |
| 001101 | N |
| 101001 | p |
| 011001 | Z |
| 010111 | X |
| 0011 | M |
When combined, these characters form the encoded string: "YWdlbmNpZXM="
Related Conversion Tools
Recent Posts
How to Base64 Encode Data in Bash Linux
December 11, 2024
How to Base64 Encode Data in Go (Golang)
December 11, 2024
How to Base64 Encode Data in JavaScript
December 11, 2024
How to Base64 Encode Data in PowerShell
December 11, 2024
How to Base64 Encode a String in Node.js
December 11, 2024
Encode History
Your encode history will appear here. Start encoding to build your history!