Preview & Test Your HTML Email Before Sending
Paste HTML email code, preview it on desktop and mobile, inspect the generated HTML, and catch common rendering issues — all safely in your browser.
Preview modes provide an approximate visual environment. Actual rendering can vary between email clients and versions.
What Is an HTML Email Previewer?
An HTML email previewer is a browser-based tool that renders your email HTML the way an inbox would — inside an isolated, sandboxed preview — so you can see how your design looks before it reaches a single recipient. Instead of sending test emails back and forth, you paste your HTML once and instantly switch between desktop and mobile, test common email widths, inspect the code and catch rendering problems.
Why Should You Preview an HTML Email?
HTML email is fragile. A layout that looks perfect in your browser can break in Outlook, clip on a phone or load images that are too large. Previewing lets you catch broken layouts, missing images, broken links, horizontal overflow and accessibility problems before you send — when fixing is cheap and no subscriber has seen a broken message.
Why Does HTML Email Look Different Across Email Clients?
- Different rendering engines. Gmail uses a modern engine, Apple Mail uses WebKit, and Outlook on Windows uses Word's HTML engine — three very different worlds.
- Different CSS support. What one client supports (flexbox, media queries, background images) another silently ignores.
- Different widths. Desktop panes, mobile viewports and zoom settings all change how wide your email actually renders.
- Version and device drift. Even the same client changes rendering between versions and platforms. There is no single 'standard' inbox.
How to Preview an HTML Email
- Paste your HTML. Full documents and fragments both work — no need to include
<html>or<body>. - Add an optional subject. It appears in the simulated email header.
- Select desktop or mobile. Switch to check responsiveness and watch for horizontal overflow.
- Inspect the preview. Use preview modes, widths and zoom to approximate different inbox environments.
- Review warnings. The analysis panels flag scripts, forms, HTTP images, missing alt text and more.
- Fix problems. Edit the HTML and watch the preview update.
- Copy or download the final HTML. Use it directly in your ESP.
- Send a test email. Real clients still deserve a real test — this tool is a fast pre-flight check, not a replacement.
HTML Email Best Practices
Frequently asked questions
Security & Privacy
The preview runs entirely in your browser. Your HTML is rendered inside a sandboxed iframe with sandbox="allow-same-origin", scripts, event handlers, forms, iframes and javascript: URLs are stripped before rendering, and the preview cannot navigate or access the MailCannon application. Your HTML is never uploaded to our servers and it is never stored. The tool also never downloads your images or visits your links — all analysis is based on the source HTML alone.