MIME Encoded-Word Decoder (=?UTF-8?B?...?= Email Headers)

Decodes MIME encoded words in headers such as Subject and From, and encodes UTF-8 header text.

Use the tool

Why this tool exists

Email headers can only hold ASCII, so non-ASCII text is wrapped as =?charset?B?base64?= or =?charset?Q?quoted-printable?=. You see these when you read raw headers.

The tool decodes every word, joins neighbouring words the way RFC 2047 asks (the space between two encoded words is dropped) and handles charsets your browser knows, such as ISO-8859-1. Encoding splits long text into words that stay under 75 characters.

How to use it

  1. Paste the header text.
  2. Choose decode, or encode for UTF-8 text.
  3. For encoding pick B (Base64) or Q.
  4. Copy the result.

Frequently asked questions

What does the B and Q mean?

B is Base64. Q is a quoted-printable variant where an underscore means a space.

A word was kept as is.

Its charset is unknown to the browser or the data is damaged. The tool tells you which charset.

Does it decode whole emails?

No. Only encoded words in header text. Use the quoted-printable tool for bodies.

Is my input sent anywhere?

No. Everything runs in your browser and nothing is uploaded.