Tools / Base64 and quoted-printable codec

Base64 and Quoted-Printable codec

Encode or decode the content encodings used in email, including encoded subject lines.

Quick summary: Paste text or encoded content and choose a mode: Base64 or Quoted-Printable encode and decode, or decode MIME encoded-words like =?UTF-8?B?...?= from headers. Pick UTF-8 or a legacy charset. Everything runs locally.

Where these encodings appear

Base64 turns binary data into plain text, so attachments and images can travel through mail systems. Quoted-Printable keeps mostly-ASCII text readable and escapes other bytes as =XX, with a trailing = marking a soft line break. HTML email bodies are very often Quoted-Printable, which is why raw source shows =3D where you expect =.

Encoded-words carry non-ASCII text in headers like Subject, in the form =?charset?B-or-Q?text?=. If a decoded result looks garbled, try another character set: the label in the header is usually right, but badly generated mail sometimes lies. To see these encodings in a full message, use the source converter.