Text to Quoted Printable Encoder – Encode Text for Email

What quoted-printable encoding does

Quoted-printable is a way to send text with accented letters, symbols, and other non-plain characters through email systems that were built for plain ASCII. It leaves ordinary letters, digits, and punctuation exactly as they are, and turns every other byte into an equals sign followed by two hex digits, like =C3=A9 for the letter é. The result is still readable text, which is why email programs use it for message bodies and for headers with names in other languages.

Most people never see quoted-printable, because their email program encodes and decodes it in the background. Developers, testers, and anyone building email by hand do see it, when they read raw message source, debug a broken subject line, or check why an accented name arrives as strange symbols. This tool shows the encoding step by step, so you can check a string before you send it.

How to use the tool

Type or paste your text in the top box. The tool encodes it live as you type, and the result appears in the lower box. Press Encode if you want to run it again by hand, and press Copy result to copy the encoded text to your clipboard. The bar under the output shows what share of your bytes needed encoding, so a plain English message sits near zero and a message full of accented letters climbs higher.

Try a short line first, like a subject with one accented word, and check that only the accented letter changed. Then try a longer message and watch the count of encoded sequences grow. There is nothing to install and nothing is uploaded, because the whole conversion runs in your browser.

Worked example

Take the text “Hello, café!” and run it through the tool. The output is “Hello, caf=C3=A9!” The word Hello and the comma, space, and exclamation mark stay exactly as they were. Only the letter é changes, into two bytes, =C3 and =A9, because é takes two bytes in UTF-8 and quoted-printable writes each byte as =XX. The tool reports 13 characters, 14 encoded bytes, and 2 encoded sequences.

Try “a=b” next. The output is “a=3Db”, because the equals sign itself must be encoded, or a reader could mistake it for the start of a code. Try “100%” and you get “100%” back unchanged, because the percent sign is inside the safe range. Try “10€” and you get “10=E2=82=AC”, because the euro sign takes three bytes in UTF-8 and each one becomes an =XX code. A trailing space is encoded too: “Hi there ” becomes “Hi there=20”, because a space at the end of a line can be lost in transport, and =20 keeps it safe.

Who uses this tool

Developers use it when they build email features and need to check what their code should produce for a given input. Support staff use it when a customer reports garbled characters in a message, to see whether the encoding step or the decoding step went wrong. Students learning about email formats use it to see the rule in action instead of reading a dry specification.

It also helps anyone writing a newsletter or a plain-text email by hand, where an accented name in a greeting must survive the trip. Instead of guessing which characters are safe, they paste the line, copy the encoded form, and know exactly what will travel.

Honest limitations

This tool encodes one piece of text at a time, and it does not wrap long lines. Real quoted-printable output breaks lines at 76 characters with a soft line break, an equals sign at the end of the line, and this tool leaves that wrapping step out, so very long lines should be wrapped before they go into a real message. It also keeps plain line breaks as they are, while real email transport uses CRLF line endings.

Quoted-printable is not encryption. Anyone who receives the message can read the encoded text by decoding it, so never use it to hide a password or a private detail. And it only handles text: attachments use a different encoding, base64, which this tool does not do.

Frequently asked questions

Why does é become two codes instead of one? Because é is stored as two bytes in UTF-8, and quoted-printable encodes byte by byte. Each byte becomes its own =XX code, so é is =C3=A9, while a letter like ñ is =C3=B1.

Why is the equals sign encoded as =3D? The equals sign starts every code, so a plain = in your text would confuse a decoder. Encoding it as =3D removes the doubt.

Is my text uploaded anywhere? No. The conversion runs in your browser, and the text stays on your device. Nothing is sent to a server, and nothing is stored.

When should I use quoted-printable instead of base64? Use quoted-printable for mostly plain text with a few special characters, because the result stays readable. Use base64 for binary files or text that is mostly non-ASCII, because it is shorter in that case.

También disponible en español: Codificador De Texto A Quoted Printable – Codifica Texto Para Correo

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top