Email Client Compatibility

Gmail 102KB Email Clipping: Why It Happens and How to Fix It

Learn why Gmail clips emails over 102KB and how to optimize your HTML to stay under the limit. Includes practical tips, code examples, and tools to check your email size.

HTD Solutions
February 1, 20268 min read

You've spent hours crafting the perfect email, only to have Gmail hide most of it behind a "View entire message" link. This is Gmail's 102KB clipping limit in action, and it's one of the most frustrating issues in email development.

What is Gmail Clipping?

When your email's HTML exceeds approximately 102KB (around 102,400 bytes), Gmail truncates the message and displays a "[Message clipped] View entire message" link at the bottom. Your subscribers must click this link to see the rest of your email—and most won't.

Impact: Studies show that clipped emails see 20-30% lower engagement because recipients never see your full content or call-to-action.

How Gmail Measures Size

Gmail counts the total HTML file size, including:

  • All HTML tags and attributes
  • Inline CSS styles
  • Embedded images (base64 encoded)
  • Hidden preheader text
  • Whitespace and line breaks
  • Comments (including MSO conditionals)

Note: External images (linked via URLs) do NOT count toward the limit—only the URL string itself counts.

How to Check Your Email Size

Use Mailglass Lite to see your email's HTML size in real-time. The validation panel shows:

  • Current HTML size in KB
  • Warning when approaching 102KB
  • Critical alert when over the limit

10 Ways to Reduce Email Size

1. Minify Your HTML

Remove unnecessary whitespace, line breaks, and comments. In Mailglass Lite, press ⌘M (or Ctrl+M) to minify with one click.

<!-- Before: 150 bytes -->
<table>
  <tr>
    <td style="padding: 20px;">
      Hello World
    </td>
  </tr>
</table>

<!-- After: 65 bytes -->
<table><tr><td style="padding:20px">Hello World</td></tr></table>

2. Use External Images

Never embed images as base64. A single base64 image can add 50-100KB:

<!-- Bad: ~50KB -->
<img src="data:image/png;base64,iVBORw0KGgo..." />

<!-- Good: ~50 bytes -->
<img src="https://yourserver.com/image.png" />

3. Simplify Inline Styles

Use shorthand CSS properties:

<!-- Before: 78 bytes -->
style="padding-top: 10px; padding-right: 15px; padding-bottom: 10px; padding-left: 15px;"

<!-- After: 26 bytes -->
style="padding: 10px 15px;"

4. Reduce Repeated Styles

If you're repeating the same style 50 times, consider using a CSS class in your <style> block (though remember Gmail may strip it in the mobile app).

5. Shorten Color Codes

<!-- Before: 7 bytes -->
color: #ffffff;

<!-- After: 4 bytes -->
color: #fff;

6. Remove HTML Comments

Comments are invisible but count toward size. Remove them in production:

<!-- This comment adds 30+ bytes for nothing -->

7. Minimize MSO Conditionals

Outlook conditionals are necessary but bulky. Only include what you need:

<!-- Bad: Verbose -->
<!--[if (gte mso 9)|(IE)]>
<table cellpadding="0" cellspacing="0" border="0"><tr><td>
<![endif]-->

<!-- Better: Concise -->
<!--[if mso]><table><tr><td><![endif]-->

8. Use Shorter Attribute Names

HTML is case-insensitive, but lowercase is standard. More importantly, skip unnecessary attributes:

<!-- Before -->
<table cellpadding="0" cellspacing="0" border="0" align="center" width="600">

<!-- After (if these are your defaults) -->
<table width="600" align="center">

9. Simplify Your Design

Sometimes the best optimization is removing unnecessary content:

  • Do you need that third section?
  • Can you link to content instead of including it?
  • Is every image essential?

10. Split Long Emails

If your newsletter consistently exceeds 102KB, consider splitting it into multiple emails or a digest format with links to full articles.

Gmail Mobile App Issues

Gmail's mobile app has additional quirks:

  • Strips <style> blocks - All CSS must be inlined
  • Removes classes - Class-based styles won't work
  • Clips earlier on slow connections - Users may see clipping before 102KB

Testing Checklist

  • ☐ Check HTML size is under 90KB (leave buffer for ESP additions)
  • ☐ Remove all HTML comments
  • ☐ Minify whitespace and line breaks
  • ☐ Verify no base64 embedded images
  • ☐ Use shorthand CSS everywhere
  • ☐ Test in Gmail web AND mobile app

Tools for Optimization

Mailglass Lite is your best friend for Gmail optimization:

  • Real-time HTML size monitoring
  • One-click minification
  • Gmail-specific validation rules
  • Warnings before you hit the limit

Key Takeaways

  • Gmail clips emails over 102KB
  • Use external images, never base64
  • Minify your HTML before sending
  • Keep a 10-15KB buffer for ESP tracking codes
  • Test with real Gmail accounts on mobile and desktop

Ready to optimize your emails? Try Mailglass Lite for free and see your HTML size in real-time.

Topics

gmailemail clippingemail optimizationhtml emailemail size

Ready to Test Your Emails?

Start previewing and validating your HTML emails for free. No signup required.