Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). It is defined in RFC 4648 and widely used for embedding binary content in text-based formats.
= to a multiple of 4 charactersStandard Base64 uses + and / which are special characters in URLs. The URL-safe variant (RFC 4648 §5) replaces them with - and _ and omits padding, making it safe to embed in URLs without percent-encoding.
+ / with = padding- _, no paddingAuthorization: Basic <base64(user:pass)>