Encode Quoted Printable

Encode text as quoted-printable for email bodies or headers

Encode text using quoted-printable (RFC 2045) for email bodies, or as RFC 2047 "encoded words" (=?UTF-8?Q?…?=) for email subject lines and headers.
Try an example:

Output will appear here...

About Encode Quoted Printable

How it works

  1. Text is converted to UTF-8 bytes.
  2. Printable ASCII characters stay as they are; everything else (accented letters, emoji, "=") becomes = followed by two hex digits, e.g. é → =C3=A9.
  3. Body mode keeps lines at most 76 characters long by adding "soft" line breaks (a line ending in =).
  4. Header mode produces encoded words like =?UTF-8?Q?Caf=C3=A9?=, with spaces written as underscores.

What you need

  • The email text or subject line to encode.

Tips

  • Quoted-printable is efficient for mostly-English text; for mostly non-Latin text, Base64 is shorter.

Runs in your browser. Everything happens in your browser - the text you enter is never uploaded.

Frequently asked questions

Where is quoted-printable used?+

In email (MIME). It keeps mostly-ASCII text readable in the raw message while safely carrying other characters through mail systems that only handle 7-bit ASCII.