How binary bytes become Base64
Base64 is a reversible binary-to-text encoding. It takes bytes, groups them into 24-bit chunks, splits those chunks into 6-bit values, then maps each value to the standard Base64 alphabet. Padding with = appears when the final byte group does not fill a complete 3-byte block.
This page begins with the binary representation of bytes. In grouped mode, every token must be exactly 8 bits. In continuous mode, whitespace is removed and the total number of bits must divide evenly into 8. After validation, the bytes are encoded to Base64 with the browser and can be wrapped for easier review.
Encoding is not encryption. Base64 makes bytes easier to move through text-only systems, but anyone can decode the value back to the original bytes.