Skip to content

HTML Email Tester

Find Gmail clipping, Outlook-breaking CSS and missing alt text.

Or drop an .html file

or paste with ⌘V / Ctrl V

An exported template from Mailchimp, Klaviyo, MJML or your own build.

Your file is processed in this tab and isn’t uploaded to our servers.

Your file is processed in this tab and isn’t uploaded to our servers. Pasted HTML stays in the tab too. Remote images in the preview load from their own servers only if you turn them on.

Over the clip limit? Shrink the code with the HTML Minifier on browserutils

How to use HTML Email Tester

  1. Paste your email’s HTML (from your email platform’s code view, MJML output or a template file), or drop an .html file.
  2. Check the size bar first: Gmail clips messages over 102 KB and hides everything after the cut, often including the unsubscribe link.
  3. Work through the findings: “Breaks” will fail in some client, “Risky” depends on the client, “Tip” is good practice. Each names the clients affected.
  4. Look at the preview at desktop and phone widths, first with images blocked (how Outlook shows mail at first), then with remote images on.

Features

  • Measures the HTML in bytes against Gmail’s 102 KB clipping threshold, and warns from 80 KB to leave room for your platform’s tracking code.
  • Finds CSS that Outlook on Windows or Gmail ignore: flexbox, grid, position, CSS background images, custom properties and @import.
  • Checks images for missing alt text, missing width attributes (Outlook shows them full size), http:// and relative paths, and blocked data: URIs.
  • Catches links that go nowhere (href="#", javascript:, relative paths) and reports whether there’s an unsubscribe link and a preheader.
  • Previews in a sandboxed frame with scripts disabled and remote images blocked by default, at 600px or 375px wide.

About HTML Email Tester

HTML email is web design with the clock set back about fifteen years. There is no single renderer: Gmail rewrites your CSS and strips anything it doesn’t like, Outlook for Windows renders with Microsoft Word, Apple Mail behaves like Safari, and webmail clients each sanitize differently. The techniques that survive all of them are conservative: tables with role="presentation" for layout, inline styles for anything important, images with width attributes and alt text, absolute https:// URLs, and a total size under Gmail’s clip limit.

Gmail clipping is the most expensive mistake because it’s invisible to you. Gmail shows the first ~102 KB of the HTML and replaces the rest with “[Message clipped] View entire message”, so the footer, the unsubscribe link and often the open-tracking pixel never load. The size counts the HTML source, not images, so the usual culprits are repeated inline styles from a drag-and-drop builder, comments and unused CSS. Images-off rendering is the second: Outlook and many company mail systems block images until the reader clicks, so an email that’s mostly images arrives as a blank box with alt text.

This tester reads your code and flags known client behaviour; it doesn’t render the email in real Outlook or Gmail, so the preview shows how a modern browser draws it. For pixel-level checks across dozens of clients you still need a screenshot service such as Litmus or Email on Acid, or test sends to real accounts. Before you send, also run the copy through the email spam checker.

HTML Email Tester specs

Runs
In this browser tab
Built on
JavaScript in the browser
Cost
Free, no account needed
Browsers
Current Chrome, Edge, Firefox and Safari
Last updated
November 27, 2026
Part of
9 free tools on emailutils.dev
Gmail clip limit
102 KB of HTML
Preview
Sandboxed, scripts off, images blocked until you allow them, 600px or 375px

Questions

Why is my email clipped in Gmail?
Gmail clips any message whose HTML is over about 102 KB and shows “[Message clipped] View entire message”. Images don’t count, only the code. Remove unused CSS, comments and repeated inline styles, minify the HTML, and keep headroom for the tracking links your sending platform adds.
Why does my HTML email look broken in Outlook?
Outlook for Windows renders email with Word, which doesn’t support flexbox, grid, CSS positioning, CSS background images or many margin rules, and shows images at their full size unless the width attribute is set. Build columns with tables, set width on every image, and use Outlook conditional comments for anything Outlook-specific.
How do I test an HTML email before sending?
Check the code (paste it here), then send test emails to real Gmail, Outlook and Apple Mail accounts and look at them on a phone and a desktop, with images on and off. Screenshot services like Litmus or Email on Acid show many clients at once if you test often.
Should HTML emails use tables?
For layout, yes. Tables are the only layout method that works in every major client including classic Outlook for Windows. Add role="presentation" so screen readers don’t announce them as data tables, and use CSS media queries on top for mobile.
What is a preheader?
The short text inbox apps show after the subject line. If you don’t set one, they show the first text in the email, often “View in browser” or an image’s alt text. Put a hidden line of 40–100 characters at the top of the body to control it.

More in Message testing

All 3 message testing