Where Base64 is used
Base64 appears in email attachments, data URIs for images, HTTP Basic authentication headers, JSON Web Tokens and API payloads that need to carry binary data as text.
Text with emoji and accents
Text is converted to UTF-8 before encoding, so emoji, accented letters and non-Latin scripts round-trip correctly. Some simpler tools fail on these characters.