SVG to PNG

Your files never leave your device.

Choose a format
Choose a format

The pixel size comes from the SVG's width and height; one with only a viewBox is drawn at least 512 px wide or tall. Transparency is kept.

Questions about SVG to PNG

How does SVG to PNG work?

SVG to PNG draws your vector once, at a fixed pixel size, and saves the pixels losslessly as a PNG, for apps and sites that don't take SVG. After that it's no longer a vector: enlarging the PNG later makes it soft.

Does SVG to PNG keep a transparent background?

Yes. Anything the SVG doesn't paint stays transparent in the PNG, including soft edges. If the SVG has a white rectangle behind the drawing, that rectangle is part of the image and stays white.

Why is my small icon 512 pixels in the PNG?

An SVG with only a viewBox and no width or height has no real size, so its viewBox numbers are used as pixels, and a small one is scaled up until its longest side is 512 px. An explicit size is used as it is: write width="24" height="24" into the SVG and you get a 24 × 24 px PNG.

Why does the text use a different font?

Fonts the SVG loads from a URL, such as web fonts, are not loaded, so text is drawn with fonts your browser has. To keep the exact look, convert the text to outlines (paths) in your design app before exporting the SVG.