DevTools Logo

Quoted-Printable Encoder / Decoder

Quoted-Printable Encoder / Decoder

Decode quoted-printable email bodies and RFC 2047 encoded-words, or encode text with correct line breaks.

Runs in your browser
Try an example

Quoted-printable source

Decoded text

Paste quoted-printable text or plain text to convert

Hex triplets, soft breaks and RFC 2047 encoded-words are handled locally — nothing is uploaded.

Details

Quoted-Printable Encoder / Decoder handles the two MIME encodings that show up as gibberish in raw email. Decode mode resolves =XX hex triplets, removes soft line breaks and decodes =?UTF-8?Q?…?= / B encoded-words — including adjacent words joined per RFC 2047. Encode mode converts UTF-8 or Latin-1 text to QP with a 75-character content limit before soft breaks, EOL whitespace escaping and optional folding of long header phrases into multiple encoded-words. A byte/hex view and byte counters make mojibake diagnosable. All conversion happens locally; email content is never uploaded or stored.

More examples

Decode an email body

Caf=C3=A9 soft=
break =3D done

Resolves to 'Café softbreak = done': the accented character is reassembled from UTF-8 bytes, the soft break disappears and =3D becomes a literal equals sign.

Decode a subject line

=?UTF-8?Q?Caf=C3=A9_=E2=9C=93?= plain

The RFC 2047 Q-encoding uses underscores for spaces and hex escapes for non-ASCII bytes; the result is 'Café ✓ plain'.

Encode with line folding

Café ✓ — naïve résumé

Encode mode emits uppercase =XX escapes and folds long lines with a trailing soft break so no encoded line exceeds the RFC 2045 76-character limit.

Examples

Decode an email body

Input
Caf=C3=A9 soft=
break =3D done

Resolves to 'Café softbreak = done': the accented character is reassembled from UTF-8 bytes, the soft break disappears and =3D becomes a literal equals sign.

Decode a subject line

Input
=?UTF-8?Q?Caf=C3=A9_=E2=9C=93?= plain

The RFC 2047 Q-encoding uses underscores for spaces and hex escapes for non-ASCII bytes; the result is 'Café ✓ plain'.

Encode with line folding

Input
Café ✓ — naïve résumé

Encode mode emits uppercase =XX escapes and folds long lines with a trailing soft break so no encoded line exceeds the RFC 2045 76-character limit.

About this tool

Quoted-Printable Encoder / Decoder handles the two MIME encodings that show up as gibberish in raw email. Decode mode resolves =XX hex triplets, removes soft line breaks and decodes =?UTF-8?Q?…?= / B encoded-words — including adjacent words joined per RFC 2047. Encode mode converts UTF-8 or Latin-1 text to QP with a 75-character content limit before soft breaks, EOL whitespace escaping and optional folding of long header phrases into multiple encoded-words. A byte/hex view and byte counters make mojibake diagnosable. All conversion happens locally; email content is never uploaded or stored.

What this tool does not do

  • Processes only the inputs provided in this session without connecting to external accounts or background servers.
  • Runs entirely in the current browser tab; nothing is synced across devices or backed up to a server.

How to use this tool

  1. Choose Decode or Encode

    Paste raw Quoted-Printable MIME text (or RFC 2047 headers) or UTF-8 text to encode.

  2. Verify UTF-8 and line-wrap rules

    Inspect decoded characters or 76-char soft-wrapped QP output.

  3. Copy or download result

    Copy clean decoded text or encoded MIME body to your clipboard.

Use cases

Decode an email body

Resolves to 'Café softbreak = done': the accented character is reassembled from UTF-8 bytes, the soft break disappears and =3D becomes a literal equals sign.

Decode a subject line

The RFC 2047 Q-encoding uses underscores for spaces and hex escapes for non-ASCII bytes; the result is 'Café ✓ plain'.

Encode with line folding

Encode mode emits uppercase =XX escapes and folds long lines with a trailing soft break so no encoded line exceeds the RFC 2045 76-character limit.

Common mistakes

Mistake:What is a soft line break in Quoted-Printable?

Fix:RFC 2045 caps encoded lines at 76 characters; a trailing '=' right before CRLF/LF marks a soft wrap that decoders strip seamlessly to rejoin the original line.

Mistake:Can this tool decode =?UTF-8?Q?...?= email Subject headers?

Fix:Yes. RFC 2047 Q-encoded header tokens (where underscores represent spaces) and multi-byte UTF-8 hex sequences (=C3=BC → ü) decode cleanly.

Frequently asked questions

Why does =3D appear everywhere in raw email source?

In Quoted-Printable (RFC 2045), '=' is the escape character, so literal '=' signs (like HTML href='...') must be encoded as their uppercase hex byte =3D.

What is a soft line break in Quoted-Printable?

RFC 2045 caps encoded lines at 76 characters; a trailing '=' right before CRLF/LF marks a soft wrap that decoders strip seamlessly to rejoin the original line.

Can this tool decode =?UTF-8?Q?...?= email Subject headers?

Yes. RFC 2047 Q-encoded header tokens (where underscores represent spaces) and multi-byte UTF-8 hex sequences (=C3=BC → ü) decode cleanly.

Are raw MIME emails uploaded anywhere?

No. Encoding and decoding happen locally in your browser.