๐Ÿ“จ Email Subject Encoder & Decoder

Encode and decode email subjects using RFC 2047 โ€” Quoted-Printable, Full Hex QP, and Base64. Works instantly in your browser with full UTF-8 support.

โฌ†๏ธ Encoder โ€” Type to encode instantly

Encodes to RFC 2047 Quoted-Printable, Full Hexadecimal Quoted-Printable & Base64.

๐Ÿ“ Quoted Printable Encoding โ€” Space Representation

RFC 2047 allows space as _ (underscore) or =20 (hex). Choose your preferred form.

QP Encoded Output:


      
Full Hex Quoted Printable:

      
Base64 (RFC 2047):


      

๐Ÿ”ข Hexadecimal Encoding -RFC 2047 QP encoded-word.

Hex Encoded Output:


      

๐ŸŒซ๏ธ Blurry Encoding

Blurry Encoded Output:


      

๐Ÿ”€ Multiple Encoded -Words RFC 2047 encoded-word blocks

Multiple Encoded Words Output:

    

โฌ‡๏ธ Decoder โ€” Paste encoded text to decode

Decoded QP Output:

      
      
      
Decoded Base64 Output:


    

What is an Email Subject Encoder / Decoder?

An Email Subject Encoder & Decoder is a tool that converts special characters, Unicode text, and non-ASCII characters in email subject lines into formats that are safely transmitted by email servers worldwide. Without proper encoding, subject lines containing symbols like ยฉ, ยฎ, or characters in Hindi, Arabic, Chinese, or other non-Latin scripts will appear as garbled text or ? characters to recipients.

This problem is solved by RFC 2047, an IETF standard that defines the "encoded-word" mechanism for email headers. Our tool implements all three formats defined by RFC 2047 โ€” Quoted-Printable, Hex Quoted-Printable, and Base64 โ€” making it the most complete free subject encoder available online.

๐Ÿ“ง Quoted-Printable (QP)

Encodes only special characters, keeping ASCII text readable. Best for subjects with mostly Latin text.

๐Ÿ”ข Full Hex QP

Encodes every character as a hex value. More compatible with older or strict mail servers.

๐Ÿ” Base64

Encodes the entire string in Base64. Best for non-Latin scripts (Chinese, Arabic, Hindi, etc.).

How to Use the Subject Encoder

  1. Type your subject: Enter your email subject or "From" display name in the text field above. All three encoded formats are generated instantly.
  2. Choose the format: Select either Quoted-Printable, Full Hex QP, or Base64 depending on your ESP or mail server's requirements.
  3. Copy & paste: Click the Copy button next to the desired output and paste it into your email's subject header.
  4. Decode existing subjects: Paste a raw encoded subject line into the decoder sections to see the original, human-readable text.

Which format should I choose?

For subjects with mostly English text and a few special characters (like โ„ข, ยฉ, accented letters), use Quoted-Printable โ€” it keeps most characters human-readable. For subjects in non-Latin scripts (Hindi, Arabic, Chinese, Japanese), use Base64 for the best compatibility across all email clients.

Why Use Our Free Email Subject Encoder?

Who uses this tool?

This tool is commonly used by email marketing professionals building campaigns in ESPs like Mailchimp, SendGrid, and PMTA, developers configuring SMTP servers and transactional email headers, and deliverability engineers who need to inspect and reconstruct encoded email headers from raw message sources.