Quoted-Printable Encoder
Quoted-printable is the encoding that lets 8-bit text survive a 7-bit mail transfer. This encoder converts each byte above 126 (and a few special ones like =) into =XX hex escapes, soft-wraps lines at 76 characters and gives you a string you can drop into a MIME Content-Transfer-Encoding: quoted-printable body.
How to encode to quoted-printable
-
1
Paste your text
The input is treated as UTF-8 by default. Accented letters and emoji become multi-byte sequences.
-
2
Click encode
Bytes outside the printable ASCII range, plus the literal = sign, become =HH escapes in uppercase hex.
-
3
Use the soft line breaks
Lines longer than 76 characters are broken with a trailing = and a CRLF. Your MTA will reassemble them.
The rules, short version
RFC 2045 defines quoted-printable. The important bits:
| Byte range | Handling |
|---|---|
33 to 126 except = (61) |
Printed as-is |
| 9 (tab), 32 (space) | As-is unless at end of line |
= (61) |
Always escaped as =3D |
| Everything else | Escaped as =HH |
| Line length > 76 | Soft-wrap with = + CRLF |
Why this exists
SMTP historically guaranteed 7-bit clean delivery. Anything outside that range could be stripped, flipped or split. Quoted-printable keeps the body legible when opened in a debugger (unlike base64, which is opaque) while still being safe for transport.
Common gotchas
- Trailing spaces. A space at the end of a line must be encoded as
=20, otherwise mail relays will strip it. - Line endings. Use CRLF, not LF. RFC 5322 headers insist on it.
- UTF-8 first. Encode your text to UTF-8 bytes, then quoted-printable. Doing it in the wrong order mangles accented characters.
Frequently Asked Questions
Quoted-printable if the text is mostly ASCII with occasional non-ASCII bytes (typical European email). Base64 if the content is binary or heavily non-Latin: it packs more efficiently.
That is a typographic right-single-quote (U+2019) encoded as its UTF-8 bytes. A client that does not understand quoted-printable is showing the raw escapes.
RFC 2045 sets 76 as the hard maximum for a quoted-printable line. Most encoders wrap at 75 to leave room for the trailing = soft-break. Exceeding 76 risks being rejected by strict MTAs.
Yes. This tool submits the text to the site for encoding or decoding. Do not paste passwords, private keys or confidential message content.
Related Tools
ASCII Table Reference
Full ASCII table from 0 to 127 with decimal, hex, octal, binary, standard names and HTML numeric-reference notation, including NUL, LF and DEL.
Color Palette Generator
Generate monochromatic, analogous, complementary, triadic or tetradic color palettes from a base HEX color and export copy-ready CSS variables.
FPS Counter
Measure browser FPS with requestAnimationFrame, smoothing, min/max frame rate, warnings and an optional graph. Runs locally with no upload or API.
HTML Character Reference
Searchable list of HTML entities, their named and numeric codes, and a one-click copy for special characters and symbols.
HEX Color Picker
Pick or enter a HEX colour and get RGB, HSL, approximate CMYK, relative luminance and contrast ratios against white and black.
Keyboard Shortcut Reference
Search documented default keyboard shortcuts for VS Code, Chrome and Bash with GNU Readline on macOS, Windows and Linux.
Tool available in other languages
- مشفر للطباعة المقتبسة [AR]
- Encodeur Quoted-Printable [FR]
- Quoted-Printable 인코더 [KO]
- Encoder yang dapat dicetak dan dikutip [ID]
- Quoted-Printable-Encoder [DE]
- Koder quoted-printable [PL]
- Geciteerde aftekenbare encoder [NL]
- Citerbar och utskriftsförmögen kodare [SV]
- เอนโคเดอร์สำหรับการพิมพ์แบบอ้างอิง [TH]
- 引用可能な印刷エンコーダ [JA]
- Đã trích dẫn – Bộ mã hóa in được [VI]
- Codificador Quoted-Printable [ES]
- Codificador Quoted-Printable [PT]
- Quoted-Printable Kodlayıcı [TR]
- 可打印编码器 [ZH]
- Codificatore Quoted-Printable [IT]
- Кодер для печатного копирования [RU]