ImageToSVG

SVG and Social Media Share Images

Social media platforms generally don't render SVG for link preview images, requiring a raster PNG or JPEG fallback instead.

Preset:
Colors:
VTracer vectorization + SVGO optimizationPrivacy protected

Why Platforms Don't Support SVG Previews

Open Graph and Twitter Card meta tags for link preview images are handled by each social platform's own server-side rendering pipeline, and most major platforms simply don't support SVG in this context, either ignoring it or failing to generate a preview at all when an og:image points to an SVG file.

  • Link preview images are rendered server-side by each social platform itself
  • Most major platforms don't support SVG for this og:image use case
  • An SVG og:image typically produces no preview or a broken one entirely

Using a Raster Fallback for Share Images

The reliable solution is generating a PNG or JPEG version of the share image, either manually or through an automated build step that rasterizes the SVG source at social media's recommended dimensions, and pointing the og:image meta tag at that raster file instead of the original SVG.

  • Generating a PNG or JPEG version of the share image is the reliable solution
  • An automated build step can rasterize the SVG source at recommended dimensions
  • The og:image meta tag should point to this raster file, not the original SVG

Frequently Asked Questions

Can I just point og:image directly at an SVG file?

It's not reliable — most major social platforms don't support SVG for link preview images, so a PNG or JPEG raster export is the safer choice for og:image.

What dimensions should a rasterized share image use?

Most platforms recommend roughly 1200x630 pixels for link preview images, though checking each specific platform's current guidelines is worthwhile since recommendations do change.

Related guides

Ready to Convert Your Image to SVG?

Free online converter — no sign-up, no watermarks, results in under 3 seconds.

Try It Free — Convert Image to SVG