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.
Related tools
Over the clip limit? Shrink the code with the HTML Minifier on browserutils
How to use HTML Email Tester
- Paste your email’s HTML (from your email platform’s code view, MJML output or a template file), or drop an .html file.
- Check the size bar first: Gmail clips messages over 102 KB and hides everything after the cut, often including the unsubscribe link.
- Work through the findings: “Breaks” will fail in some client, “Risky” depends on the client, “Tip” is good practice. Each names the clients affected.
- 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