Why Gmail Clips Emails and How to Keep Under the Limit
Gmail cuts off emails when the HTML passes about 102 KB. Learn why it happens, what it hides, and the practical steps I use to keep newsletters under the limit.
6 min read

On this page
You send a newsletter that looks perfect in your testing tool, then a subscriber forwards a screenshot: the bottom of the email is cut off and Gmail says "[Message clipped] View entire message". The offer, the unsubscribe link and the footer are all hidden behind a click most people never make. This is Gmail clipping, and it is one of the most common problems I am asked to diagnose in HTML emails.
Here is why it happens, how to check whether your email is at risk, and the practical steps I use to keep templates safely under the limit.
What Gmail clipping actually is
Gmail cuts off the display of a message when the HTML source gets too large. The commonly cited threshold is about 102 KB of HTML. When your email crosses it, Gmail shows only the first part and adds a "View entire message" link at the bottom.
A few details that people often get wrong:
- The limit is about the size of the HTML code, not the visual length of the email. A short email with bloated code can clip, and a long email with clean code may not.
- Images do not count towards it, because they are loaded separately. Only the
<img>tags in your markup count. - Text content, inline styles, tables, comments, hidden preheader text and tracking parameters in links all add to the total.
- Your email service provider (ESP) may add its own code on send, such as tracking links and wrapper markup, so the final size can be larger than the file you designed.
The exact threshold is Gmail's own behaviour and can change over time, so treat 102 KB as a warning line, not a target. I aim to stay well below it, usually under 80 KB for a typical newsletter.
Why clipping hurts more than it looks
Clipping is not only cosmetic. The part that disappears is the end of the email, and that is where important things live:
- The unsubscribe link, which matters for compliance and for your sender reputation. If people cannot find it, they are more likely to hit the spam button.
- Legal text and your company address.
- Secondary calls to action and social links.
- A tracking pixel, if it sits at the very bottom. When it is clipped, the open is not recorded in the same way, so your open rate looks lower than reality.
So even if you do not care about the footer design, clipping can quietly distort your reporting and your deliverability.
How to check your email size
Before you send, measure the file you are actually sending.
- Export the final HTML from your ESP or build tool, with all merge tags and tracking enabled if possible.
- Check the file size in your file manager. If it is anywhere near 90 KB, treat it as a problem.
- Send a real test to a Gmail account and scroll to the bottom on desktop. Do not rely only on a preview screenshot.
- Test again after the ESP has processed it, because tracking rewrites can add noticeable weight.
If you are building templates by hand, a quick look at the largest repeated chunks in the source usually tells you where the weight is coming from.
The usual causes of oversized email code
In projects like this, the same few culprits come up again and again.
Exported code from design tools and editors
Drag-and-drop editors and "export to HTML" features often produce very verbose markup: nested tables for every block, long inline style attributes repeated on every cell, and conditional comments duplicated in each module. The email looks simple, but the source can be several times larger than it needs to be.
Repeated inline styles
Email needs inline styles for reliable rendering, so some repetition is normal. But when every paragraph carries a 300-character style attribute, it adds up quickly across a long newsletter. Compare these two:
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 24px; color: #333333; padding-top: 0px; padding-right: 0px; padding-bottom: 16px; padding-left: 0px; margin: 0px;"><td style="font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:24px;color:#333333;padding:0 0 16px;">The second says the same thing in roughly half the characters. Multiply that saving by a few hundred cells and it matters.
Leftover comments and whitespace
Developer comments, indentation and blank lines are useful while building but are useless to the subscriber. Minifying the final HTML (removing comments and unnecessary whitespace) is one of the safest ways to cut size. Be careful to keep any Outlook conditional comments, since those are real code, not notes.
Long tracking URLs
Every link in a newsletter can carry UTM parameters, and your ESP may wrap each one in a longer redirect link. A 40-link email with 200-character URLs spends a lot of the budget on links alone. Keep UTM parameters short and consistent, and avoid linking the same destination many times when once or twice is enough.
Duplicated mobile and desktop versions
Some templates include a full desktop layout and a second, separate mobile layout, then hide one with CSS. That doubles the content in the source. A single fluid or hybrid layout that adapts to screen width is almost always lighter and easier to maintain.
A practical checklist for keeping emails under the limit
This is the order I usually work in:
- Simplify the structure first. Remove nested tables that exist only for decoration. Fewer wrapper tables mean less code everywhere.
- Shorten the inline styles. Use shorthand properties such as
padding:0 0 16px, drop declarations that repeat browser defaults, and write colours in short hex where possible. - Use the head `<style>` block wisely. Move media queries and a few shared rules there, but remember Gmail supports embedded styles only in some cases, so keep critical styling inline.
- Minify the final HTML after the design is approved, not while you are still editing.
- Trim the content. If a newsletter has twelve sections, ask whether the reader needs all twelve in one email. Often a shorter email with a link to the full content performs better anyway.
- Put the important items early. Place the main message and calls to action near the top, so a clipped email still does its job.
- Keep the tracking pixel and footer lean. Short footer markup and a compact unsubscribe block reduce the chance that they get pushed past the cut-off.
None of this requires sacrificing design. Most emails I have seen clip because of code habits, not because the design is too rich.
When it is worth getting help
If your template is built from a visual editor and you have no control over the output, there may be a limit to how much you can slim it down yourself. Rebuilding the template as clean, hand-coded HTML usually fixes clipping permanently and also improves Outlook and dark mode behaviour at the same time. This is the kind of work I do in my HTML email template service, but the checklist above will already take you a long way on your own.
Whatever route you take, make Gmail testing part of your standard pre-send routine. A template that looks right in a preview tool but clips in a real inbox is not finished.
Key takeaways
- Gmail clips emails when the HTML source passes roughly 102 KB, not when the email looks long; images do not count.
- Clipping can hide your unsubscribe link and tracking pixel, which affects compliance, deliverability and your reported open rates.
- Measure the final exported file, ideally after your ESP has added its tracking, and aim well under the limit.
- The usual fixes are cleaner table structure, shorter inline styles, minification, shorter links and a single responsive layout.
- Put the most important content first, and always test in a real Gmail inbox before sending.
Tags
- HTML Email
- Email Development
- Best Practices

About Keshur Gojiya
Web developer and HTML email specialist with 6+ years of experience, building websites and emails for businesses, startups and agencies.
Get to know me

