Free tool
HTML Email Checker and CSS Inliner
Paste your email HTML to find what breaks in Gmail and Outlook, and inline your CSS in one click.
Free, no signup. Everything runs in your browser; what you type is never sent to us.
Your email HTML
What the checker found
Paste your email HTML above to see what might break in Gmail and Outlook, or try the broken example.
This reads your HTML as text and flags common risks. It cannot render each email app, so use it as a checklist and still send yourself a test.
Why email HTML is different
A web browser and an email app are not the same thing. Outlook for Windows draws email with Word's layout engine, Gmail rewrites and limits your CSS, and each app supports a different slice of what you can do on the web. Code that looks perfect in a browser can fall apart in someone's inbox.
The checker looks for the usual culprits: flexbox and grid, background images, web fonts, SVG, missing alt text, a message big enough for Gmail to clip, and styles that are not inlined. Each finding says who it affects and how to fix it. Our post on why emails look broken in Gmail and Outlook goes through them in more detail.
What inlining CSS does
Email platforms copy the rules from your <style> block onto each element before sending, so the design survives in clients that ignore style blocks. The Inline CSS button does that for you in your browser. Rules that cannot be inlined, like media queries and hover effects, stay in a style block, which is exactly where they should be.
Questions
- Does this test how the email looks in Gmail and Outlook?
- No. It reads the HTML as text and flags the things that commonly go wrong, but it cannot draw each app. After you fix what it finds, send yourself a test and open it in a few real inboxes, on a phone as well.
- Is my HTML sent anywhere?
- No. Everything runs in your browser. Your code is not uploaded, stored or logged.
- Why does Gmail clip long emails?
- Gmail cuts messages off at about 102 KB of HTML and hides the rest behind a "View entire message" link. That can hide your footer, including the unsubscribe link. Images do not count towards the limit, the code does.
- Will inlining change how my email looks?
- It should look the same, because each rule is copied onto the elements it already applied to. Keep your original HTML, compare the two, and test the inlined one before sending.
- What about Outlook-only code, like conditional comments?
- Comments, including Outlook conditionals such as <!--[if mso]>, are left alone and are not scanned for problems, since they are written for Outlook on purpose.
Want the whole email written and designed?
Describe the email in plain English and Emlet builds it in your brand colours, ready to edit and export. Free to try, no credit card.
Generate your first email freeMore tools
Email Subject Line Tester
See how your subject line and preview text look in an inbox, and what might get them cut off or flagged.
Email Prompt Library
Ready-to-edit prompts for welcome emails, launches, events, win-backs and more. Copy one or turn it into an email.
Email Footer Generator
Build a compliant email footer with your address and an unsubscribe link, as HTML and plain text.
Email Signature Generator
Make a clean, email-safe signature in a minute and paste it into Gmail, Outlook or Apple Mail.
