MIME Decoder

How MIME Decoding Works

MIME encoded-words are parsed and decoded using the specified encoding.

  1. 1

    Identify encoded-words

    The pattern =?charset?encoding?text?= is identified in the input string.

  2. 2

    Decode using specified encoding

    B encoding uses Base64 decoding, Q encoding uses Quoted-Printable decoding.

  3. 3

    Return decoded text

    The decoded text replaces the encoded-word in the original string.

FAQ

What is MIME encoding?
MIME encoded-word format is used in email headers to represent non-ASCII text. It uses the format =?charset?encoding?text?= where encoding is B (Base64) or Q (Quoted-Printable).
When would I need MIME decoding?
You need MIME decoding when you see encoded email subjects or From/To addresses that look like =?UTF-8?B?...?= or =?UTF-8?Q?...?=.

Related Tools