Base64 is a binary-to-text encoding scheme that represents binary data using only 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). It is commonly used to safely transmit data in environments that handle text, such as email attachments, data URLs, and HTTP Basic Authentication headers.