SVG in Email: Gmail, Outlook & Apple Mail Support (2026)

Short answer: SVG images work in most clients, inline SVG mostly does not. Support table for Gmail, Outlook and Apple Mail, and why a 2x PNG is still safest.

Amit Yadav
6 min read
On this page

SVG in an <img> tag now works in most email clients, but Gmail converts it to PNG and Outlook 2016 and older on Windows do not show it. Inline <svg> fails in most clients. A PNG at 2x is still the safe choice for an icon that must show.

Email client SVG support matrix

Client SVG in <img> Inline SVG
Apple Mail (iOS 15+) Yes Yes
Apple Mail (macOS 14+) Yes Partial: needs a background on <body>
Outlook 2019 (Windows) Yes No
Outlook 2007 to 2016 (Windows) No No
Outlook.com, Outlook for Mac, iOS, Android Yes No
Gmail (web and apps) Rendered, converted to PNG No
Yahoo Mail Yes No
Thunderbird Yes Yes
HEY Yes No

This table comes from Can I Email’s SVG image and embedded SVG data, checked 2026-11-05. The Gmail image rows were retested in September 2026, but most inline SVG rows date from 2020. We did not send test mail, so test your own template before you rely on any row.

Warning

Outlook 2007 to 2016 on Windows are listed with no SVG support, in <img> or inline. If your list has business addresses on older Outlook installs, an SVG icon fails for those readers.

The safe approach: PNG fallbacks

Use a PNG in a plain <img>. The usual way to offer an SVG with a PNG fallback is <picture>, but Can I Email lists it as unsupported in Gmail, Outlook and Yahoo, so it adds little:

<img
  src="https://yourcdn.com/icons/[email protected]"
  width="24"
  height="24"
  alt=""
  style="display:block;"
/>
Tip

Always host images on a reliable CDN, email clients block images from unknown hosts. Use a service like Cloudinary, AWS S3, or your ESP’s built-in CDN.

Icons via <img> tag (simpler)

If you accept a missing icon on Outlook 2016 and older, and a converted PNG in Gmail, an SVG in <img> needs no export step:

<!-- Hosted SVG or PNG -->
<img
  src="https://api.iconify.design/lucide:home.svg"
  width="24"
  height="24"
  alt=""
  style="display:block; color:#6366f1;"
/>

Note: currentColor doesn’t apply to <img>, the SVG’s own fill/stroke colors are used. Pre-color your SVG before hosting it.

Generate colored SVGs for email

Most icon libraries are black by default. For email, bake the color into the SVG:

<!-- Iconify CDN: set color via query param -->
<img
  src="https://api.iconify.design/lucide:home.svg?color=%236366f1"
  width="24"
  height="24"
  alt=""
/>

<!-- Or for a white icon on dark background -->
<img
  src="https://api.iconify.design/lucide:home.svg?color=%23ffffff"
  width="24"
  height="24"
  alt=""
/>

For email, pick icons with these characteristics:

  • Simple paths: fewer nodes = smaller file size and better rendering
  • 24×24 or 32×32 viewBox: scales cleanly for retina
  • Solid fill preferred over complex strokes, more consistent across clients

Pre-colored PNG export workflow

The safest email icon workflow:

  1. Browse AllSVGIcons, find your icon
  2. Download SVG, then convert to PNG at 2× (48×48px) via a tool like Sharp, Squoosh, or Figma
  3. Upload the PNG to your CDN
  4. Reference in email HTML with fixed width="24" height="24" attributes
<!-- 48px PNG displayed at 24px for retina -->
<img
  src="https://cdn.example.com/icons/[email protected]"
  width="24"
  height="24"
  alt=""
  style="display:block;"
/>

Icon in a button (email CTA)

Build a button with an inline icon, keep it simple for maximum client compatibility:

<table role="presentation" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td style="background:#6366f1; border-radius:6px; padding:12px 24px;">
      <a href="https://example.com" style="text-decoration:none; display:inline-flex; align-items:center; gap:8px;">
        <!-- 24px icon hosted as PNG -->
        <img
          src="https://cdn.example.com/icons/arrow-right.png"
          width="16"
          height="16"
          alt=""
          style="display:inline-block; vertical-align:middle;"
        />
        <span style="color:#ffffff; font-family:Helvetica,Arial,sans-serif; font-size:16px; font-weight:600; vertical-align:middle;">
          Get Started
        </span>
      </a>
    </td>
  </tr>
</table>
Tip

Use role="presentation" on layout tables to prevent screen readers from announcing table structure. Keep all layout as tables for Outlook compatibility.

Testing your email icons

Before sending, test in:

  • Email on Acid or Litmus, visual regression across 100+ clients
  • Gmail: listed as converting SVG images to PNG, so check sharpness
  • Outlook 2016 on Windows: listed with no SVG support
  • Apple Mail: among the most permissive in the table above

Always test dark mode, Gmail and Apple Mail invert some colors in dark mode, which can make light-colored icons disappear.

Frequently asked questions

Can I use SVG icons in HTML email?
Partially. Can I Email lists SVG in an img tag as working in most clients, but Gmail converts it to PNG and Outlook 2007 to 2016 on Windows do not show it. Inline SVG fails in most clients, including Gmail, Outlook and Yahoo. For broad compatibility, serve pre-colored PNGs from a CDN.
Why don't SVG icons display in Outlook email?
Can I Email lists Outlook 2007 to 2016 on Windows with no SVG support, in an img tag or inline. Outlook 2019 and the other Outlook apps are listed as showing SVG in an img tag, but not inline SVG. Use PNG images if your readers may be on older Outlook.
How do I use colored SVG icons in email?
Bake the color into the SVG before hosting it. You can't rely on CSS color or currentColor in email. Use Iconify's CDN with the ?color= query param, or export colored PNGs from AllSVGIcons or Figma.
What is the best way to add icons to an email CTA button?
Host a small PNG (48×48px for retina, displayed at 24×24px) on your CDN and use an img tag with vertical-align:middle inside your table-based button layout. Avoid inline SVG for buttons. It fails in Outlook.
Which icon libraries work best for HTML email?
Lucide, Heroicons, and Tabler all have clean, simple SVGs that convert well to PNG. For email, simple stroked icons at 24px base size are easiest to convert and most legible at small sizes.

Related posts

Share this post