SupperTools

Useful Online Tools & Utilities to Make Everyday Tasks Easier.

Quoted Printable Encoder to Convert Plain Text to QP Format

Encode plain text into quoted printable format for email and MIME work, escaping non ASCII characters and wrapping lines to the standard rules.

Most of the time, quoted printable encoding happens invisibly inside your mail program. But when you are building email templates, testing how a mail server handles international text, or preparing data for a system that expects MIME encoding, you need to produce the encoded form yourself. The Encode Quoted Printable tool does exactly that: type or paste regular text, click Encode, and get the quoted printable version, with every non ASCII byte escaped and every line wrapped by the rules.

Why Email Still Uses Quoted Printable

Quoted printable exists because email's foundations only guarantee safe passage for a narrow set of ASCII characters, while real messages contain accents, symbols and many alphabets. Rather than transform the whole message the way Base64 does, quoted printable takes a light touch: printable ASCII passes through unchanged, and anything else is written as an equals sign plus the two hexadecimal digits of its byte value. In UTF-8, é becomes =C3=A9, the euro sign becomes =E2=82=AC, and even the equals sign itself is protected as =3D so it can never be mistaken for an escape.

The result stays mostly human readable, which is why mail standards have kept it for decades for text parts: a technician can eyeball an encoded message and still follow it, something no Base64 block allows.

What the Quoted Printable Encoder Does

  • Escapes every byte that needs it, converting accented letters, symbols and non Latin scripts into their =XX byte sequences.
  • Protects trailing whitespace by encoding spaces and tabs at line ends as =20 and =09, so they cannot be stripped in transit.
  • Wraps long lines with soft breaks, ending lines with an equals sign so the output obeys the line length limits mail systems expect.
  • Keeps readable text readable: ordinary letters and punctuation come through untouched, so the output remains recognisable as your message.

For the return journey, the Decode Quoted Printable tool converts encoded text back, and if you need the alternative MIME encoding instead, Text to Base64 produces that form.

How to Encode Text as Quoted Printable

  1. Write or paste the regular text you want to encode into the box at the top of the tool.
  2. Include everything exactly as it should appear after decoding, accents, currency symbols and punctuation included.
  3. Click Encode to generate the quoted printable version.
  4. Review the output: check that special characters have become =XX sequences and that long lines end with soft break equals signs.
  5. Copy the encoded text into your email template, test message or mail system field.
  6. Verify the round trip by decoding the output once; it should return your original text exactly, character for character.

Worked Example: Encoding Accents and Symbols

Take the sentence: Le café coûte 50€, c'est prêt. Encoding it works character by character. The plain ASCII letters, spaces and apostrophe stay as they are. The é is two UTF-8 bytes, C3 and A9, so it becomes =C3=A9 in both its appearances. The û in coûte is C3 BB, written =C3=BB. The euro sign is three bytes, E2 82 AC, giving =E2=82=AC. The encoded sentence reads: Le caf=C3=A9 co=C3=BBte 50=E2=82=AC, c'est pr=C3=AAt. Slightly awkward to read, completely safe to transport, and fully reversible.

Notice the apostrophe in c'est survived untouched, while every accented letter was escaped. That selective escaping is the whole character of quoted printable, and why its output stays far slimmer than Base64 for mostly English text.

Tips for Correct Encoding and Common Mistakes

Encode from the final text, not a draft. Any edit after encoding, even fixing one letter, risks breaking an escape sequence or leaving a line too long. Finish the wording first, then encode once, then leave the output alone.

Do not hand edit the encoded output. The commonest mistake is tidying it: removing trailing equals signs because they look like typos, or re wrapping lines to look neat. Those equals signs are load bearing; removing one corrupts the decoding of everything after it.

Know your character set. The encoder works in UTF-8 bytes, the modern default. If the receiving system expects ISO-8859-1, the same é would be a single byte, =E9, and UTF-8 escapes will display as two wrong characters. Match the charset your target system declares.

Choose the right encoding for the job. Quoted printable suits text that is mostly ASCII. Attachments and heavily non ASCII content belong in Base64, where the size overhead is predictable and no line wrapping rules apply.

Frequently Asked Questions About Quoted Printable Encoding

What is quoted printable used for?

It is a MIME content transfer encoding that lets email and similar systems carry accented and non ASCII text safely through channels designed for plain ASCII.

Why does the output contain so many equals signs?

The equals sign is the escape character. Followed by two hex digits it represents one byte of the original text, and at the end of a line it marks a soft break inserted for wrapping.

Will the encoded text decode back exactly?

Yes. Quoted printable is fully reversible: a correct decoder restores the original text character for character, including accents, symbols and line structure.

How is quoted printable different from Base64?

Base64 re encodes everything, making text unreadable but compact and uniform. Quoted printable leaves readable ASCII untouched and only escapes what needs it, which is smaller and clearer for mostly plain text.

Can I encode text in any language?

Yes. Any text that can be represented in UTF-8 can be encoded, since the scheme works on bytes. The more non ASCII characters the text has, the denser the escapes become.

Why are lines in the output so short?

The standard limits encoded lines to 76 characters to survive old mail gateways. Soft breaks with a trailing equals sign mark where one logical line was split.

Prepare Text That Survives Any Mail Server

Quoted printable is the polite encoding: it changes as little as possible while guaranteeing your text arrives intact. The encoder applies its escapes, protections and wrapping correctly in one click, so the messages and templates you feed into mail systems behave exactly as their recipients expect.

Related Tools