The SVG to PNG Converter rasterizes vector artwork at the size you name, either as a multiple of the drawing's own dimensions or as an exact pixel width and height. Drop in .svg files, or paste markup straight out of Figma, Illustrator or an icon set, set the size and press Convert. The size question is the one most converters get wrong, because an SVG does not have to say how big it is: width and height may be missing, given as a percentage, or written in millimetres, while the drawing itself lives in a viewBox with its own coordinate system. Every file here is measured before it is drawn — width and height first when they are absolute, the viewBox next, and the browser's own 300 × 150 fallback only when there is nothing else — and each card tells you which of the three it used. Files with no viewBox get one, since without it a request for four times the size produces the original drawing sitting in the corner of a large empty canvas. The PNG is then rendered by the browser at the full output resolution rather than drawn small and enlarged, so a 24-pixel icon exported at 1024 is as sharp as the vector allows. Backgrounds stay transparent unless you pick a color, and a batch of up to fifty comes back as one ZIP.
The guide behind this tool
Why the Same SVG Exports at Three Different Sizes
width and height are optional, and an icon set ships neither. What a rasterizer falls back to, and why a file with no viewBox cannot be scaled at all.
Drop your .svg files onto the box, or switch to Paste SVG code and paste the markup from your editor.
Leave it on By scale and pick 2× for a retina asset, or drag the slider anywhere from a quarter size to sixteen times.
Switch to By pixels when a destination has a fixed requirement — an app icon, a favicon source, a store listing — and use the 64 to 1024 presets or type the exact width.
Keep the background transparent, or choose a solid color for anywhere that renders transparency as black.
Press Convert. Each file is rasterized in turn, with a counter showing where it is, and changing a setting afterwards hands the button back so nothing you download was made under a setting you have moved past.
Read the cards: each shows the source size, what it measured that from, the PNG dimensions and the file size.
Download the single PNG, or take the whole set as one ZIP.
Because they hand the file to the browser and accept whatever it decides. An SVG is only obliged to carry a viewBox; width and height are optional, and an icon set or a Figma export typically writes width="100%" or nothing at all. Faced with that, an <img> falls back to its own default, which is why the same file can rasterize at 300 × 150 in one tool and at the viewBox size in another. This one measures the document first — absolute width and height if they are there, otherwise the viewBox — writes that size onto the root, and tells you on each card which source it used.
35+ Free Tools
Explore all categories
From text processing to developer utilities, all free, all instant, no sign-up.