Encoded header
Paste a header value or full header lines.
Tip: press Ctrl+Enter (or Cmd+Enter) to decode.
An RFC 2047 MIME header decoder converts encoded words such as =?UTF-8?B?...?= in email Subject, From, and other headers back into readable Unicode text. Paste a raw header below to decode Base64 and quoted-printable words instantly.
Private by design: decoding happens in your browser. Header content is never sent to a server.
Paste a header value or full header lines.
Tip: press Ctrl+Enter (or Cmd+Enter) to decode.
Readable Unicode with ordinary text preserved.
Encoded words
0
Decoded
0
Kept as is
0
Paste a Subject or From value, or several full header lines copied from a raw email. Folded lines are fine.
Select Decode or press Ctrl+Enter. Base64 and quoted-printable encoded words are converted to readable Unicode text.
Check the per-word breakdown and any warnings, then copy the decoded header for your notes, tickets, or code.
An encoded word is a header fragment in the form =?charset?B?text?= or =?charset?Q?text?=. Mail clients use it to carry non-ASCII text, such as accented names or emoji, in headers that must stay ASCII.
B encoding stores the bytes as Base64. Q encoding is a quoted-printable variant where =XX is a hexadecimal byte and an underscore stands for a space. Both are decoded to bytes and then read with the declared charset.
RFC 2047 says whitespace between two adjacent encoded words is ignored. Senders split long text across several words, so the decoder joins them back together. Whitespace next to ordinary text is kept.
No. Decoding runs entirely in your browser with the built-in TextDecoder API. Nothing you paste is uploaded, logged, or stored.
The decoder keeps the original text in the output and lists a warning that explains the problem, such as invalid Base64, a bad hexadecimal escape, or a charset your browser cannot decode.
MailParse receives inbound email, decodes MIME headers and bodies, and delivers clean JSON to your webhook or REST API.
Try MailParse free