Encoded Email Subject Decoder
Decode MIME encoded words in an email subject, including RFC 2047 Base64 and quoted-printable forms. Processing stays in your browser.
- Free
- No sign-up
- Runs in your browser
Decodes Base64 (B) and quoted-printable (Q) encoded words, including their declared character sets.
How to decode an encoded email subject
- Copy the raw Subject header value from an email message.
- Paste it into the decoder and run the conversion.
- Copy the readable subject or save it as a text file.
The tool recognizes RFC 2047 encoded words that use Base64 (B) or quoted-printable (Q) encoding.
Which encoded email subject formats are supported?
| Marker | Encoding | Example |
|---|---|---|
?B? | Base64-encoded bytes | =?UTF-8?B?…?= |
?Q? | Quoted-printable style header bytes; underscores represent spaces | =?UTF-8?Q?Hello=2C_world?= |
Each encoded word declares a character set, which is used to decode its bytes. Adjacent encoded words are joined without adding their separating whitespace, as specified for header display.
RFC 2047 decoding behavior
The decoder handles case-insensitive B and Q markers, Base64 payloads, hexadecimal Q escapes, underscore spaces, declared browser-supported character sets, and adjacent encoded words. Unsupported character-set labels and malformed Base64 or Q escapes are reported.
Check where decoding happens
The pasted subject is decoded in your browser and is not sent to a conversion server. The page itself may load advertising resources; see the privacy page for site-level details.
Known limitations
- Paste one Subject header value at a time; input is limited to 10 million characters.
- This decodes RFC 2047 words only. It does not parse a complete email, unfold headers, or inspect MIME message bodies.
- The browser must support the character-set label used in the encoded word.
- Text without an encoded word is returned unchanged and identified as plain text.
Frequently asked questions
What is an RFC 2047 encoded subject?
It is a way email headers represent non-ASCII text using encoded words that include a character set and either Base64 or Q encoding.
Why does an email subject contain =?UTF-8?B??
The sender or mail system encoded the subject for transport. Decode the header value to read the declared character set's text.
Does this decode quoted-printable email bodies?
No. This page decodes encoded words used in headers. Use the quoted-printable decoder for a body text part.
Is my subject uploaded?
No. Decoding is performed in the browser; standard site resources may still load.
Related tools
Tool details last reviewed 2026-11-01. See the changelog.