To effectively reduce HTML email file size and prevent clipping in Gmail (which occurs at 102KB), a multi-faceted approach is essential. Key strategies include optimizing HTML code by removing unnecessary whitespace, comments, and nested tables, as well as using shorthand CSS and external stylesheets. Optimizing images through compression and using appropriate formats (JPEG for photos, PNG for graphics) is also vital. Limiting content, by employing preheader text and reducing the number of fonts, further minimizes file size. Google Developers highlights Gmail's size limits and recommend compressing attachments and linked content. Laura Atkin recommends using text based emails where possible. Finally, using tools like HTML Crush and CSS inliners can automate much of the optimization process.
13 marketer opinions
To reduce HTML email file size and prevent clipping in Gmail (which occurs at 102KB), the primary strategies involve optimizing code, images, and content. Code optimization includes minimizing whitespace, avoiding nested tables, using CSS (especially external stylesheets) instead of inline styles, and inlining only critical CSS. Image optimization focuses on compression, using appropriate formats (JPEG for photos, PNG for graphics), and setting proper dimensions. Content reduction can be achieved by using preheader text effectively, reducing the number of fonts, and employing modular design to reuse code blocks. Avoiding excessive background images and using HTML minification tools are also helpful.
Marketer view
Email marketer from Sendinblue shares that optimizing images is key, suggesting compressing images without sacrificing quality, using the correct image format (JPEG for photos, PNG for graphics), and setting appropriate image dimensions.
13 Jan 2023 - Sendinblue
Marketer view
Email marketer from Really Good Emails says one should reduce the number of fonts used in emails. Each font adds weight to the HTML. Stick to web-safe fonts or use font stacks to minimize size.
18 Oct 2023 - Really Good Emails
1 expert opinions
To prevent HTML email clipping in Gmail, Laura Atkins from Word to the Wise recommends using a text-based email. If HTML is necessary, she advises keeping it as simple as possible. She also suggests attaching images, as they are smaller in size when attached rather than embedded.
Expert view
Expert from Word to the Wise, Laura Atkins, explains that using a text-based email is the best way to prevent clipping. She also notes if HTML is needed, it should be as simplistic as possible. She also explains that including images as attachments are smaller in size.
4 Feb 2023 - Word to the Wise
4 technical articles
To reduce HTML email file size and avoid clipping in Gmail, documentation suggests several key strategies. Google Developers highlight Gmail's size limits and recommend compressing attachments and linked content. Campaign Monitor advises using shorthand CSS properties to reduce stylesheet size. HubSpot advocates for responsive email design with fluid grids and flexible images to adapt to different screen sizes without fixed-width layouts. W3C recommends minifying HTML code by removing unnecessary characters, whitespace, comments, and unused code.
Technical article
Documentation from Campaign Monitor advises using shorthand CSS properties to reduce the number of characters in your stylesheet. For example, instead of writing out margin-top, margin-right, margin-bottom, and margin-left separately, you can use the shorthand margin property.
22 Apr 2025 - Campaign Monitor
Technical article
Documentation from Google Developers states that Gmail limits the size of incoming messages. While not directly addressing clipping, reducing overall size helps ensure the message is fully received and displayed. Compressing attachments and linked content is recommended.
27 May 2022 - Google Developers
Do images in emails affect deliverability?
Does email size affect spam trap triggers?
How do HTML email size, TLD, attachments, and domain reputation affect deliverability and open rates?
How does email code quality and size impact email deliverability?
How does Gmail email clipping affect email deliverability and open rates?
What are common Gmail deliverability myths and how can they be avoided?