Tool guide
About this tool.
- Quoted-printable (RFC 2045) is the MIME encoding used for email bodies that are mostly ASCII. Printable ASCII stays as it is, and every other byte becomes an equals sign followed by two hex digits, for example é in UTF-8 is =C3=A9.
- Lines are wrapped at 76 characters with a soft line break, an equals sign at the end of the line. Everything runs locally in your browser or editor.
- Email headers cannot hold raw non-ASCII text, so RFC 2047 wraps it in encoded words such as =?UTF-8?Q?Caf=C3=A9?= or =?UTF-8?B?...?=. Q words use the quoted-printable style with an underscore for a space, B words use base64.
- Whitespace between two adjacent encoded words is dropped, and adjacent words in the same charset are joined before decoding so a character split across words survives.
Pick a mode and paste your text.
Encode turns the text into UTF-8 quoted-printable with soft line breaks at 76 characters. Line breaks are written as LF.
Decode reverses it using the charset you choose, joins soft line breaks and strips trailing whitespace from each line.
MIME header decode replaces RFC 2047 encoded words in a header line with their text.
Errors name the 1-based position of the bad sequence, for example Invalid quoted-printable sequence at position 4.
- Café = 5€ → Caf=C3=A9 =3D 5=E2=82=AC
- Caf=C3=A9=⏎ au lait → Café au lait
- Andr=E9 (ISO-8859-1) → André
- =?UTF-8?Q?Caf=C3=A9?= menu → Café menu
- Decoding rejects raw non-ASCII and control characters; they must be written as =XX.
- Input is limited to 1,000,000 characters.
- Input line breaks (CRLF, CR, LF) are written as LF.
- The ISO-8859-1 label decodes as Windows-1252, as in browsers.
- Encoded output is not checked against any mail server limits other than the 76 character line length.