๐ Binary Data & Cryptographic Encoding
Base64 Encoder & Decoder
Convert plain UTF-8 text to Base64 strings and decode Base64 data with full URL-safe RFC 4648 compatibility.
Base64 Encoded Result
SGVsbG8gV29ybGQhIPCfmYA=
How Base64 Binary Encoding Works
Base64 is a binary-to-text encoding scheme designed to transmit binary data over communication channels that are exclusively designed to handle ASCII characters (such as MIME email attachments, JSON payloads, and Data URIs).
The 6-Bit Encoding Process
Standard bytes are 8 bits wide ($2^8 = 256$ possible values). Base64 divides input streams into 6-bit chunks ($2^6 = 64$ values), mapping each 6-bit integer to an ASCII index character (`A-Z`, `a-z`, `0-9`, `+`, and `/`).