Toolvito

Processed online by Toolvito

Email HTML Validator

Paste the HTML of an email, or choose an .html or .eml file. The tool lists what e-mail programs remove or ignore, checks size, images and links, and draws previews at phone and desktop widths in light and dark mode.

Choose what to do

Task
Check an email

Or drop the file here. HTML, HTM or EML, 3 MB each at most.

    The HTML you paste or the file you choose is sent to the Toolvito server. With “Load pictures” on, the pictures it links to are fetched through the egress proxy, as a mail program would. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

    How to check an email

    1. Paste the HTML of the email, or choose the .html file or an .eml file saved from your mail program.
    2. Press Check email.
    3. Fix the problems, then check the previews.

    What is checked

    • Size: Gmail cuts off emails larger than about 102 KB of HTML and shows “[Message clipped]”.
    • What gets removed: scripts, external style sheets, frames, forms, video, SVG; CSS such as flex and grid, position, background images, web fonts and CSS variables that Gmail or Outlook for Windows ignore.
    • Images and links: alt text, width attributes for Outlook, http:// addresses, empty or # links, javascript: links.
    • Accessibility: title, language, layout tables without role="presentation"; dark-mode CSS and the color-scheme tag.

    Previews

    Previews are drawn by Chromium with scripts off, at 375 px (phone) and 600 px (the usual email width), in light and dark mode, close to Apple Mail and Gmail on the web. Outlook for Windows draws with Word and looks different; it is not simulated. Programs that change colours themselves in dark mode are not simulated either.

    Inline the CSS

    Inline CSS writes the rules of your <style> blocks into style="" attributes, for e-mail programs that drop <style> blocks. Rules that cannot be inlined (@media, :hover, ::before, @font-face) stay in a <style> block, and width and bgcolor attributes are added for Outlook. Linked style sheets are not loaded.

    Limits

    • This checks email HTML, not whether an email address is valid; for a domain’s mail records use the Email DNS Authentication Checker.

    Related tools