Last updated
Best Practices for Email Preheaders
- Keep preheaders between 40 and 100 characters for broad client compatibility
- Never repeat the subject line word-for-word in the preheader
- Always include the padding characters to prevent body text bleed-through
- Place the preheader div as the very first element inside the body tag
- Test your preheader in at least Gmail, Outlook, and Apple Mail before sending
- Use action-oriented language that creates urgency or curiosity
The Email Preheader Generator on TechConverter.me handles all the technical details of preheader implementation, letting you focus on crafting the message that gets your emails opened.
Examples
Example 1: Complementing a Subject Line
A good preheader adds information the subject line does not contain. Here are subject line and preheader pairs that work together:
- Subject: "Your order has shipped" → Preheader: "Estimated delivery Thursday. Track your package here."
- Subject: "50% off ends tonight" → Preheader: "Use code SAVE50 at checkout. Over 200 items on sale."
- Subject: "Your account security" → Preheader: "We noticed a new login from Chrome on Windows. Was this you?"
- Subject: "Weekly digest: March 10" → Preheader: "Top stories: AI tools, React 19 release, and 3 job openings."
Each preheader extends the subject line's message rather than repeating it, giving recipients two reasons to open the email.
Example 2: The HTML Preheader Code
The generator produces the correct HTML to embed your preheader text invisibly in the email body. Without this code, email clients pull the first visible text — often "View this email in your browser" — into the preview. The generated code looks like this:
<!-- Preheader text: hidden from email body, shown in inbox preview -->
<div style="display:none; font-size:1px; color:#ffffff; line-height:1px;
max-height:0px; max-width:0px; opacity:0; overflow:hidden;">
Estimated delivery Thursday. Track your package here.
‌ ‌ ‌ ‌ ‌
‌ ‌ ‌ ‌ ‌
</div>
The zero-width non-joining spaces (‌) and non-breaking spaces ( ) pad the preheader to prevent email clients from pulling additional body text into the preview after the preheader text ends.
Example 3: Character Count Optimization
Different email clients show different amounts of preview text. The generator shows a real-time character count and previews for each client:
- Gmail desktop: ~100 characters visible
- Gmail mobile: ~50-60 characters visible
- Apple Mail: ~140 characters visible
- Outlook desktop: ~100 characters visible
- Samsung Mail: ~40-50 characters visible
For a preheader like "Estimated delivery Thursday. Track your package here." (52 characters), the generator confirms it fits within the visible range for all major clients, including mobile. A preheader that is too long gets cut off mid-sentence, which can look unprofessional.