๐Ÿ–ผ๏ธ SVG to PNG Converter

Drag and drop an SVG file, or click to select

Upload an SVG file to convert it to a PNG image at your chosen width and height for download. All processing happens entirely in your browser โ€” the file is never sent to a server.

How to use

  1. Drag and drop an SVG file, or click to select one.
  2. Set the width and height (in pixels) for the output PNG.
  3. Click "Download PNG" to save the converted image.

How the calculation works

Converts an SVG (a vector image made of shapes described mathematically) into a PNG of the size you choose. When you load a file, the size written in the SVG (width and height) is filled in as the starting value. SVG edges stay sharp at any scale, so you can make large images from small icons. If the SVG has no background colour, the background stays transparent.

Worked example

A 24 ร— 24 icon SVG exported at 512 ร— 512 โ†’ a PNG with smooth edges even though it is scaled about 21 times. Handy for producing several sizes, such as 192 ร— 192 and 512 ร— 512, for app icons and favicons.

Things to be aware of

  • Width and height are set separately. Values that do not match the original aspect ratio stretch the image.
  • For security, browsers do not draw external images or web fonts referenced inside the SVG. Converting text to outlines (shapes) avoids surprises.
  • Processing happens in your browser; the file is never uploaded.

FAQ

Does the converted PNG have a transparent background?

Yes, if the original SVG doesn't specify a background color, the output PNG will have a transparent background.

Can I output at a larger size than the original SVG?

Yes. Since SVG is a vector format, you can set a larger width and height and still get a PNG with smooth, crisp edges.

Is the uploaded file sent to a server?

No. The conversion happens entirely using your browser's Canvas API โ€” the file is never sent to a server.