Base64 Encode for Email Attachments & MIME
Quick Answer: Email protocols (SMTP) transmit text only, so binary attachments must be Base64-encoded. Paste content to encode it in the format used by MIME multipart messages.
FAQ
Why do emails use Base64?
SMTP only transmits 7-bit ASCII text. Base64 converts binary data (images, PDFs) into ASCII characters safe for email transmission.
Does my email client handle this automatically?
Yes. Modern email clients and libraries handle MIME encoding automatically. Manual Base64 encoding is only needed when building raw SMTP messages or debugging email issues.