Encode any plain text string into its Base64 representation. Useful for HTTP headers, data URIs, and API authentication tokens.