opyeb SVGForge

Guides · Email and social

Where SVG does not work: email clients and social previews

Updated 28 Nov 2026 · 8 min read

SVG is a web format, and the places where it fails are mostly the places that are not the web: email clients and social preview crawlers. Knowing the boundary saves a debugging session, because the failure is usually silent. The image simply does not appear, and the layout collapses without an error.

Email is the harder case. Gmail's web and app clients do not display SVG images at all. Outlook on Windows renders HTML with a Word engine that supports a small subset of CSS and has inconsistent image behaviour. Apple Mail renders SVG reasonably, which makes testing on one client dangerously misleading. Data URIs are stripped by several clients, so inlining the image as a data URI is not a workaround either.

DestinationSVG supportWhat to ship
Gmail web and appNoPNG at 2× the display size
Outlook desktopUnreliablePNG, fixed width, no background images
Apple MailMostly yesPNG still safer for consistency
Social preview (Open Graph)NoPNG or JPEG, 1200×630 common
FaviconYes in modern browsersSVG with a PNG fallback
App iconNot directlyPNG set exported from the SVG

A fallback that is actually tested

The reliable pattern is an <img> with a PNG source and an alt attribute, sized in pixels, with no CSS background. If you want to try SVG first, use a <picture> element with an SVG source and a PNG fallback, and accept that the fallback is what most recipients will see. Do not use an inline SVG in email: many clients strip the element entirely.

Export the PNG at twice the display size for high-density screens. A 24 px icon becomes a 48 px PNG, displayed at 24 px. Keep the file small by exporting with the fewest colours that look right; an icon PNG should be a few kilobytes, not a hundred. Test the actual email in a client that does not support SVG, not only in the preview tool of the sending service.

Social cards are their own format

Open Graph and Twitter card images are fetched by the platform's crawler, not by the browser, so the rules are different. The URL must be absolute and publicly reachable without a login. The format must be PNG, JPEG or WebP depending on the platform; SVG is not accepted for preview images. The recommended size is typically 1200 by 630 pixels with the important content away from the edges, because some surfaces crop.

The text on the card is rendered by the platform, not baked into the image, when you use the title and description tags. Keep the image simple and let the text come from metadata. If the design needs text in the image, keep it short and large enough to read in a narrow timeline preview.

A favicon is one place where SVG works and is worth using: modern browsers accept an SVG favicon and it stays sharp at every size. Provide a PNG fallback for older browsers and for the small sizes where a simplified mark reads better.

Sources

Questions

Can I use SVG in an HTML email?

Sometimes, but you should not rely on it. Gmail does not render SVG images, Outlook desktop uses a Word rendering engine with limited support, and several clients strip data URIs. A PNG fallback is still the practical choice for anything that must display everywhere.

Why does my social card show no image?

Most platforms fetch the image from the URL in the og:image meta tag and require an absolute URL, a publicly reachable host, and a supported format. SVG is not accepted by the major platforms for preview images; a PNG or JPEG of the recommended size is.

Can I keep one SVG source and still ship a PNG?

Yes. Keep the SVG as the editable source, export a PNG at the exact pixel size the destination needs, and record that size in the filename. Do not export one huge PNG and scale it down in the client; text and thin strokes will be soft.

Generate the PNG you need from the optimised SVG at the exact export size, and keep the SVG as the source.

Open the optimizer

Written against the W3C SVG specifications, MDN and the React and WCAG documentation; every sample in the examples can be pasted into the optimizer linked above.

Back to the guides