SVG to PNG

Draw an SVG out to a PNG in your browser and download the picture. The PNG is a fixed-size image, so it will not scale the way the SVG did. SVG remains.

How to use this tool

  1. Add an .svg. The accept list is image/svg+xml,.svg.
  2. Set Width. It starts at 1024 and allows 64 to 4096. Height follows the aspect because the convert call locks aspect.
  3. Choose Convert.
  4. Download the PNG. It is pixels. The SVG remains the vector master.
  5. A huge width makes a huge PNG. 4096 is the field maximum, not a requirement.

Vectors become a bitmap

The convert call asks for PNG at the width you set, with the aspect locked. 1024 is the start. 64 is the minimum and 4096 is the maximum. There is no height field. If you need a specific height, pick the width that produces it.

A PNG does not scale cleanly the way the SVG did. Export the width you will display, or a little more. Exporting at 64 and then stretching the PNG in a page will look soft. Keep the SVG for later sizes.

External images or fonts referenced inside the SVG may not draw. If a logo comes out blank, open the SVG and inline the artwork. Convert then writes the PNG. The batch button is Convert, and several files can be zipped.

Pick the display width

1024 is a reasonable screen width and a heavy one for a tiny icon. 64 is the floor and 4096 is the ceiling. Height follows the aspect. A blank PNG usually means the SVG pointed at a font or an image the browser did not load. Inline that artwork and convert again. The SVG file remains the master for any later size.

A drawing turned into pixels

Open the PNG at the size you will place it. Curves that were sharp in the SVG can look jagged if the pixel size is small. Raise the export size and run it again for a hero image. A tiny icon can stay small. The SVG remains the master for later edits. The PNG is a flat picture, so you cannot change the vectors inside it.

Common questions

Can I set the height?
Not as its own field. Aspect is locked, so height follows the width.
Is the PNG still a vector?
No. It is a bitmap. Keep the SVG if you need to scale later.
What if the PNG is blank?
The SVG may point at a font or an image the browser did not load. Inline that artwork and convert again.
Can I set the PNG height separately?
No. You set the width, and the height follows the drawing. Width starts at 1024 and can be set from 64 to 4096. The PNG is a picture of the vector, not a vector itself. A blank PNG means the drawing did not paint.