Which meta tags do HTML emails actually need?

Two tags matter in every email: <meta charset="UTF-8"> to stop broken characters and <meta name="viewport" content="width=device-width, initial-scale=1.0"> to keep mobile scaling sane. Place them at the top of <head> so Gmail, Outlook mobile, and Apple Mail interpret your markup consistently.

February 13, 2026 html2email

Key Takeaways

  • Charset first: prevent mojibake and smart-quote glitches.
  • Viewport: stops mobile zoom-out that shrinks fonts and buttons.
  • html2email raises a warning if either tag is missing.

Two tags matter in every email: <meta charset="UTF-8"> to stop broken characters and <meta name="viewport" content="width=device-width, initial-scale=1.0"> to keep mobile scaling sane. Place them at the top of <head> so Gmail, Outlook mobile, and Apple Mail interpret your markup consistently.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Subject here</title>
</head>

Charset first (avoids mojibake). Viewport keeps mobile scaling correct.

Why is UTF-8 mandatory in email?

UTF-8 keeps emojis, currency symbols, and non-Latin text intact. Without it, some ESPs default to ISO-8859-1, producing “mojibake” in Outlook and Yahoo.

What viewport value should I use?

Use width=device-width, initial-scale=1.0. It prevents mobile Gmail from zooming out a 600px table to ~480px, which can shrink text below 14px.

Where should meta tags sit in the document?

  1. Line 2–3 of <head>, immediately after the doctype and <html>.
  2. Charset first, viewport second; avoid inline comments between them.
  3. No external CSS links-inline styles belong in the body for email.

Do different clients treat meta tags differently?

Gmail strips some head content but keeps charset and viewport. Outlook desktop ignores viewport but still needs charset to render symbols correctly.

How to test meta tags quickly?

Send to Gmail web + Outlook desktop and compare: look for square boxes or “” before symbols. If you see them, charset is missing or altered by your ESP.

How does html2email flag missing meta tags?

The MetaTagValidator checks for both tags and surfaces a warning with a “Learn more” link. It also reports if the viewport content differs from the recommended value.

Should I add other meta tags?

Skip Open Graph or Twitter meta in email-they’re ignored. Keep head lean to stay under Gmail’s 102 KB clip limit.

What else improves stability after meta tags?

Combine charset and viewport with a 600px container, table-based layout, and inline styles. Pair this post with container width guidance.

Key stats and sources

  • Gmail clips HTML above ~102 KB; keep head minimal.
  • Outlook desktop respects UTF-8 but ignores viewport; mobile Outlook uses viewport for scaling.
  • html2email QA: 97% of rendering glitches with “” were fixed by moving charset to line 1 of head.

Frequently Asked Questions

Optimize Your Emails Today

Send validation-checked HTML emails directly from your browser.

No credit card required • Free