Encode absorbed to Base64
Base64 result: YWJzb3JiZWQ=
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: absorbed to YWJzb3JiZWQ=
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 |
| b | 01100010 |
| s | 01110011 |
| o | 01101111 |
| r | 01110010 |
| b | 01100010 |
| e | 01100101 |
| d | 01100100 |
Step 2: Group Bits into 6-bit Chunks
The binary string is grouped into 6-bit chunks for Base64 encoding:
011000 010110 001001 110011 011011 110111 001001 100010 011001 010110 0100
Step 3: Convert Binary to Base64
| Binary Value | Base64 Character |
|---|---|
| 011000 | Y |
| 010110 | W |
| 001001 | J |
| 110011 | z |
| 011011 | b |
| 110111 | 3 |
| 001001 | J |
| 100010 | i |
| 011001 | Z |
| 010110 | W |
| 0100 | Q |
When combined, these characters form the encoded string: "YWJzb3JiZWQ="
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!