How to use the SVG to PNG Converter
- Paste SVG code into the editor or open an .svg file.
- Choose a scale (1x for the SVG's own size, 2x for high-density screens, 4x for print) or type an exact width and height.
- Choose a transparent background or a solid colour.
- Download the PNG.
How it works
SVG describes shapes mathematically, so it can be drawn at any size without blur. The tool reads the SVG's width, height, and viewBox to work out its natural size and aspect ratio, then renders it onto a canvas at the size you choose and saves the canvas as PNG.
If the width and height attributes disagree with the viewBox proportions, the viewBox is used so the image is not stretched.
The SVG is rendered as an image, which means any scripts inside it are not run.
Output width = Natural width × Scale
Output height = Natural height × ScaleWorked example: a 240 × 240 icon for a high-density screen
An icon with viewBox 0 0 240 240 exported at 2x gives a 480 × 480 PNG, which stays sharp on screens with a device pixel ratio of 2, such as most modern phones and laptops.
At 4x the same icon becomes 960 × 960, suitable for print or for app store artwork that needs a large source.
| Scale | Output size |
|---|---|
| 1x | 240 × 240 |
| 2x | 480 × 480 |
| 3x | 720 × 720 |
| 4x | 960 × 960 |
Limitations
- SVGs that load external images or web fonts may render without them, because browsers block external resources when drawing an SVG as an image. Convert text to outlines and embed images for reliable output.
- CSS animations and interactive elements are captured as a single still frame.
- SVGs with no width, height, or viewBox have no natural size; add a viewBox or type a size.
Frequently asked questions
Will the PNG have a transparent background?
Yes, unless you choose a background colour. Transparent areas of the SVG stay transparent in the PNG.
What size should I export an SVG icon at?
Export at the largest size it will be displayed, multiplied by 2 for high-density screens. A 32 px icon should be exported at 64 px.
Why is my text in the wrong font?
Fonts the SVG references must be installed on your device or embedded in the SVG. Converting text to paths in your design tool guarantees the same result everywhere.
Is it safe to paste SVG code from the internet?
The SVG is drawn as an image, so scripts inside it do not run in this tool. Still, only use SVG files from sources you trust in your own projects.