Technical Guide & Overview
Base64 (RFC 4648) is a binary-to-text encoding scheme that translates raw 8-bit octets into a 64-character ASCII radix (A–Z, a–z, 0–9, +, and /). It is ubiquitously deployed across MIME email headers, Basic HTTP Authentication, data URLs for images/fonts, and secure cryptographic token wrappers.
How It Works Under the Hood
Base64 splits input bytes into 6-bit chunks (since 2^6 = 64). Three 8-bit bytes (24 bits total) are converted into four 6-bit Base64 indices. If the input payload length is not divisible by 3, equal sign padding characters (=) are appended to preserve 4-character alignment.
Authoritative Specifications & Primary Standards
Official specifications, RFCs, and authoritative open-source repositories for Base64 Encode/Decode:
Official internet standard defining radix 64 encoding alphabet and padding conventions.
Authoritative C cryptography library powering terminal base64 commands.
CLI Equivalents & Terminal Automation
echo -n "Hello Otuls" | base64
echo "SGVsbG8gT3R1bHM=" | base64 --decode
openssl base64 -in secret.key -out secret.b64
Zero-Knowledge Client-Side Sandboxing
All encoding and decoding operates client-side with native Web APIs (TextEncoder, TextDecoder, Uint8Array). API keys, passwords, and private certificates never leave your device.