Gmail clipped email 102KB limit: how to check and shrink HTML
Gmail cuts off an email's HTML at about 102KB and hides the rest behind a "[Message clipped] View entire message" link. Images don't count, only the HTML source. Send yourself the real campaign, check the size, then strip repeated inline styles, unused markup and extra links until you have a comfortable margin.
Sohail Hussain9 min readShort answer
- Gmail clips the HTML part of a message at roughly 102KB and hides the rest behind a View entire message link, often including your footer, unsubscribe link and tracking pixel.
- Send the real campaign to a Gmail address you control, check the size, then shrink the HTML: host images instead of embedding them, remove repeated inline styles, clean pasted markup and cut links.
- Aim for under 90KB so tracking links and the footer added at send time do not push you over.
You sent a campaign that looked fine in the editor preview, and in Gmail it ends with [Message clipped] View entire message. Or you saw a comment that emails over 102KB get clipped and want to know whether yours does. Both are the same question: how big is the HTML Gmail actually receives, and what can you cut?
What counts toward the limit
The limit applies to the HTML of the message body, not to the images it links to. A 5MB hero image referenced by an img tag costs you a few dozen bytes. An image embedded as a base64 data: URI costs its full encoded size, which is the quickest way to blow the limit.
Three details matter:
- The 102KB figure is Gmail's own behavior, not an SMTP rule. Google does not promise it as a contract, so treat it as an approximate threshold and keep a margin. I'd target 90KB.
- It is measured on the HTML as Gmail receives it. Your sending tool may add a tracking pixel, rewrite every link into a tracking URL and append a footer. Those additions count.
- Plain-text parts are separate. Only the HTML part is clipped.
The problem was raised in a Reddit thread about Mailshake deliverability back in 2020, where the advice was simply to send yourself the real campaign and look. That advice still holds for any sender, Mailchimp and Mailshake included.
Why clipping hurts more than it looks
A clipped message is not only ugly.
- If the cutoff lands before your footer, the unsubscribe link is hidden. That is a compliance problem as well as a design one.
- If your open-tracking pixel sits at the very end, opens are not recorded, so your open rate looks lower than the real number.
- Readers who do not tap View entire message never see a call to action that sits low in the layout.
Clipping also hides itself from you. In most editors the preview looks fine, because the preview is not Gmail.
Check your real size
Do not estimate. Measure what actually arrives.
- Send the real campaign, with tracking on and the real footer, to a Gmail address you control. A test of a stripped-down draft will undercount.
- In Gmail, open the message and look at the bottom. If you see
[Message clipped] View entire message, you are over. - To get a number, open the message menu and choose Show original, then Download original. The saved
.emlfile includes headers and any plain-text part, so it overstates the HTML slightly; it is still a good upper bound. - For a cleaner figure, copy the HTML from your editor's code view into a file and check its size on disk. Then add a few KB for tracking links and a footer.
- Repeat after every edit, because tracking rewrites change the size.
While you have the raw message open, our email header analyzer can parse the headers for you.
Test the delivered message
A draft measured in your editor is not the message Gmail receives. Tracking pixels, rewritten links and the footer are added at send time, so always check a real test send.
What usually bloats the HTML
Roughly in order of how often they cause it:
| Cause | Typical symptom | Fix |
|---|---|---|
| Inline styles repeated on every element | The same long style="..." string over and over | Move shared rules to a style block where clients support it; shorten values |
| Pasted Word or Google Docs content | Hundreds of mso- rules and nested span tags | Paste as plain text, then reformat |
| Base64-embedded images | Huge unreadable strings in src | Host images and link them |
| Long newsletters | 30 articles in one email | Cut the list, link out to the rest |
| Deeply nested tables | Table inside table inside table | Flatten the layout |
| Duplicate content | Mobile and desktop versions both included | Use one responsive layout |
| Long tracking URLs | Every link becomes 200 characters | Reduce link count, remove unneeded UTM parameters |
How to shrink it
Work through these in order; the first ones save the most.
Host embedded images
If any image is embedded as base64, host it and link it. One embedded photo can be larger than the rest of the email combined. Look in the code view for very long src="data:image/..." strings.
Clean pasted content
Paste copy into the editor as plain text, not from Word or Google Docs. Check the code view for mso- rules and empty span tags and delete them. This is the most common hidden cause in newsletters written by several people.
Reduce inline CSS
Many email tools inline every rule onto every element for compatibility. Remove declarations you do not need (default font sizes, margin: 0 on elements that already have it) and avoid redundant wrappers. Keep a style block for media queries.
Flatten the layout
One layout table with a few rows beats five levels of nesting. Each nested table adds opening and closing tags plus attributes, and it adds up across a long email.
Cut content and links
If the email is 40KB of copy, no trick fixes that. Shorten it and link to the full version on your site. Also cut links: most platforms rewrite each link into a tracking URL, so twelve links to the same page can become one.
Minify last
Strip comments and extra whitespace. This saves a few KB, rarely more. Then re-send to yourself and recheck.
Image compression
Compressing images does not change the HTML size. It helps load time and mobile data, but do not spend an hour on image weight to fix a clipping problem.
Keep the footer and pixel safe
Even after you shrink the email, put the important parts early. Keep the primary call to action in the upper part of the layout, and do not let the unsubscribe link depend on being the last element of a very long message. Our List-Unsubscribe glossary entry explains the header-based unsubscribe that works even when the body link is clipped.
Checklist before you send
- Test send went to a real Gmail address, with tracking on and the real footer.
- No
data:image URIs in the code view. - No
mso-junk or emptyspantags from pasted content. - Repeated links to the same URL reduced.
- Delivered message is under about 90KB, with no clipping notice.
- Footer and unsubscribe link sit well before the cutoff.
If you use Mailneo
Mailneo sends through your own connected mailboxes and providers and adds tracking to what you write, so the same rule applies: send yourself the real campaign and look. The visual editor has an HTML code mode where you can inspect and trim markup, and saved templates let you fix a bloated layout once and reuse it. For cold campaigns you can turn off open and click tracking per campaign, which keeps the pixel and link rewriting out of the message; see the campaigns documentation. Mailneo does not show an HTML size warning, so the test send is how you will know. Short, mostly text cold emails almost never hit this limit; it is mainly a newsletter problem.
If nothing works
If you are under 90KB and still see the notice, check these first:
- The message is a forward or a long thread, where quoted content adds size.
- Your sending platform wraps the email in extra HTML. Send a test through a different route and compare.
- You measured the draft, not the delivered message.
Google can change this behavior, so as of November 2026 treat 102KB as a rule of thumb rather than a guarantee. If a lean email still clips, contact your sending platform's support, since the added markup comes from their side. Include a screenshot of the notice, the downloaded .eml file and the size of your HTML source.
Subject: Gmail clips my campaign even though the HTML is under 100KB
Hi, my campaign "{campaign-name}" shows "[Message clipped] View entire message" in Gmail.
My HTML source is about {size}KB in the editor. The delivered message (attached as .eml) is about {size}KB.
Sent on {date and time, with timezone} to {gmail-address}.
Tracking: opens {on/off}, clicks {on/off}.
Can you tell me what markup your platform adds at send time, and whether it can be reduced?
Common questions
Does the 102KB limit include images?
No. Only the HTML source counts, so a linked image adds a small img tag. Images embedded as base64 data do count in full.
Does clipping affect only Gmail?
The 102KB behavior is documented as Gmail's. Other clients handle long messages differently, so I would not rely on them as a safety margin.
Will clipping hurt my open rate?
It can. If the tracking pixel sits after the cutoff, opens from clipped messages may not be recorded, so reported opens can look lower than real ones.
Is 90KB a hard rule?
No, it is a margin I recommend because Google does not publish the limit as a contract and your platform adds markup at send time.
Explore: Email Design & Content
Related Articles
Email dark mode colors inverted in Gmail and Outlook: fixes
Gmail, Outlook and iOS Mail rewrite email colors in dark mode, and you can't switch that off. Design for it instead: use transparent PNG logos with a light stroke, avoid pure black and white, pick mid-tone colors, set explicit colors on every element, and test in the real apps.
Email Template Looks Broken in Outlook? Fixes for Word Rendering
Outlook for Windows renders HTML email with Microsoft Word's engine, which ignores much of modern CSS. Build layouts with tables, inline your CSS, wrap fixed widths in conditional ghost tables, set fonts and spacing explicitly, and test in real Outlook before each send. Most breakage traces to those four things.
ActiveCampaign paste from Google Docs strips characters: fixes
When the ActiveCampaign editor strips curly quotes, dashes or accents pasted from Google Docs, paste as plain text (Ctrl+Shift+V or Cmd+Shift+V), then format inside the editor. If a character still disappears, write it as an HTML entity in an HTML block, and send a test to Gmail and Outlook before launch.
Acumbamail RSS Campaign Featured Image Not Showing: Fix
An RSS campaign shows no featured image when the feed itself does not carry it. Open your feed source and look for an enclosure, media:content or an img tag in each item. If it is missing, add the image to the feed with a plugin or code, then rerun the campaign as a test.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free