Email Encoding Decoder (Quoted-Printable and MIME)

Paste a raw email, a garbled subject such as =?UTF-8?Q?...?= or quoted-printable text and read it as it was written, or encode text for email headers and bodies.

Berjalan di browser Anda. File Anda tidak pernah keluar dari perangkat. Lihat cara memeriksa

…

Cara melakukannya

  1. 1
    Choose decode or encode

    Decode is the default.

  2. 2
    Paste the input

    A raw email, header or fragment.

  3. 3
    Check the charset

    Override it for loose fragments.

  4. 4
    Read the headers

    Every encoded word decoded.

  5. 5
    Read the parts

    Text parts and attachments.

  6. 6
    Copy or download

    Decoded text or encoded output.

Tentang alat ini

Email was designed for 7-bit ASCII, so everything else is encoded on the way. Accented letters in a body become =C3=A9 in quoted-printable, long lines are split with soft breaks ending in an equals sign, subjects and sender names with non-ASCII characters become encoded words such as =?UTF-8?B?...?=, and attachments are Base64. When you look at the raw source of a message, debug a mail template or read an .eml file in a text editor, all of this is unreadable. This decoder handles each layer. Paste a complete raw message and it unfolds and decodes every header, follows the Content-Type and Content-Transfer-Encoding of each part, splits multipart messages, decodes text parts with their declared charset and offers attachments as downloads. Paste only a header or a fragment and it decodes encoded words, quoted-printable or Base64 directly. It also encodes: quoted-printable bodies with correct 76-character lines, Base64 bodies, and header values as Q or B encoded words split to the 75-character limit.

Quoted-printable rules

Printable ASCII characters stay as they are, except the equals sign. Every other byte becomes an equals sign followed by two hex digits. Lines are limited to 76 characters, so longer lines end with a soft line break, an equals sign that the decoder removes. Spaces and tabs at the end of a line are encoded, because mail systems may strip trailing whitespace.

Encoded words in headers

An encoded word has the form charset, then Q or B, then the encoded text, between the markers =? and ?=. Q encoding is quoted-printable with underscores for spaces; B is Base64. Whitespace between two adjacent encoded words is ignored, which lets long subjects be split across folded lines.

Charsets

The bytes are only half the story: they must be read with the declared charset. UTF-8 is standard today, but older messages use ISO-8859-1, Windows-1252, KOI8-R, Shift_JIS or GB18030. The decoder uses the charset from each encoded word or Content-Type, and you can override it for loose fragments.

Security

Raw messages can contain phishing links and malicious attachments. Decoding here is passive and nothing is opened or executed, but treat extracted attachments with the same caution as in your mail client.

Debugging templates

When a newsletter shows strange characters, compare the charset declared in the headers with the bytes in the body: a UTF-8 body labelled ISO-8859-1 is the usual cause.

Limits

Nested messages are followed five levels deep. Uuencoded and BinHex attachments from very old mail are not decoded. S/MIME and PGP encrypted parts stay encrypted.

Contoh perhitungan

The header Subject: =?UTF-8?Q?Caf=C3=A9_men=C3=BC?= =?UTF-8?B?IOKAlCB0b2RheQ==?= decodes to Subject: Café menü — today, and the sample message's quoted-printable body, including a soft line break, becomes readable French text with the coffee emoji intact.

Fakta singkat

Pertanyaan yang sering diajukan

What is quoted-printable?

An email body encoding that keeps ASCII readable and writes other bytes as =XX.

Why does my subject start with =?UTF-8?

It is an RFC 2047 encoded word; mail clients decode it automatically.

Can it read .eml files?

Yes. Open the file in a text editor and paste the content.

Does it extract attachments?

Yes. Attachment parts are offered as downloads.

Should I use Q or B for headers?

Q keeps mostly-Latin text readable; B is shorter for other scripts.

Is my email uploaded?

No. Decoding happens in your browser.

Sepenuhnya gratisTanpa biaya, tanpa daftar
File tetap pribadiSemuanya berjalan di browser Anda
Mudah dalam bahasa AndaTersedia dalam banyak bahasa