An illustration for a page where SVG is not allowed
Platforms that block SVG uploads for security reasons will usually accept WebP. You keep the transparency and get a small file.
Renders an SVG to WEBP at whatever size you choose. The file is drawn by this tab's own renderer and never uploaded.
Find related browser-local tools for nearby tasks without starting another search.
Browse all image toolsConverting a vector file to WebP sits between the other two options and often wins on the practical measures. Like PNG it carries an alpha channel, so a transparent background survives; unlike PNG it compresses far more aggressively, which matters when the artwork is destined for a web page where every kilobyte affects load time. The usual question is why rasterize at all, since browsers display SVG natively and it scales perfectly. The honest answer is that SVG is not always wanted: some platforms refuse it outright because an SVG is a document that can contain scripts, some email clients ignore it, and complex vector artwork with thousands of paths can be slower for a browser to draw than a single decoded bitmap. When one of those applies, WebP is usually the best raster you can produce.
Platforms that block SVG uploads for security reasons will usually accept WebP. You keep the transparency and get a small file.
An illustration with tens of thousands of paths can cost more to draw every frame than a decoded bitmap does. Rasterizing at two or three times the display size trades a fixed download for smoother scrolling.
When you can, do. Rasterize when the destination rejects SVG, when the artwork is complex enough to slow rendering, or when you need a fixed pixel result.
Yes. WebP has a real alpha channel, so cut-outs and soft shadows come through.
WebP for a web page, since it is much smaller. PNG when the file will be handed to someone else or edited further, because it is lossless and universally supported.
Two times the intended display size is a good default for high-density screens. Go higher only if the image will be enlarged.
No. The SVG is read, drawn and encoded entirely in this tab.
Rasterize an SVG to PNG at the size you pick, with transparency preserved. Reads the viewBox so the output is not squashed to 300x150.
Render an SVG to JPG at any scale in your browser. Transparent areas become white, as JPEG requires.
Convert PNG to WebP in your browser. Transparency survives the conversion, unlike PNG to JPG, and the file usually gets much smaller.