SVG to PNG Converter

Convert SVG vector graphics to PNG images at 1x to 4x scale or an exact pixel size, with a transparent or solid background. Paste SVG code or open a file; it is rendered in your browser.

  • Free, no signup
  • Runs in your browser
  • Reviewed October 14, 2026

SVG Source Code

Intrinsic Aspect Ratio240 × 240 px (1.00 : 1)
Proportions Preserved

PNG Output Preview

Click “Re-Rasterize to PNG Now” to generate your high-resolution image preview.

How to use the SVG to PNG Converter

  1. Paste SVG code into the editor or open an .svg file.
  2. 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.
  3. Choose a transparent background or a solid colour.
  4. 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 × Scale

Worked 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.

ScaleOutput size
1x240 × 240
2x480 × 480
3x720 × 720
4x960 × 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.

Related guides

Suggestions welcome

Need a tool that is not here yet?

Tell us what you are trying to do. Requests and bug reports shape what we build next.

Suggest a tool