Convert SVG to PNG

Turn a vector graphic into a pixel image at the width you choose.

Drop your SVG files hereor click to choose — up to 50 MB free

An SVG is a set of drawing instructions with no pixels of its own. This tool draws it at the width you enter and saves the result as a PNG, keeping transparent areas transparent. The width is the only thing that decides how sharp the image is, so set it to the largest size the picture will be shown at. Several SVG files can be converted in one go.

How to use it

  1. Drop one or more SVG files on the page, or click to choose them; compressed .svgz files are accepted too.
  2. Enter the Width in pixels; 1024 is filled in to start with.
  3. Click Convert to PNG.
  4. Download a PNG for each SVG you added.

Choosing the width

The width must be a whole number from 16 to 10,000 pixels. The height is worked out from the proportions of the graphic; there is no separate height or dpi setting. When you add several files they are all rendered at the same width.

The graphic is drawn directly at the size you ask for instead of being drawn small and enlarged, which is what keeps curves and lettering clean. There is one ceiling: the drawing step goes up to about 33 times the size the SVG declares for itself, and anything beyond that is stretched. A 24-pixel icon exported at 1024 pixels is drawn at 800 and enlarged the rest of the way, which softens its edges slightly.

What is kept and what is left out

Transparency is kept, so a logo without a background can be placed over any colour. If you need a JPG instead, SVG to JPG renders the same way and fills transparent areas with white.

Files the SVG links to are not loaded. A picture, font or stylesheet referred to by an address instead of being embedded in the file is missing from the PNG. Text that is still live text is drawn with whatever matching font the converter has, which may not be yours; convert text to outlines in your design program when the lettering must match exactly.

After converting

For a website icon in the .ico format, Favicon generator takes an SVG directly. To shrink the PNG for the web, run it through Compress image.

Questions

What size should I export my SVG at?

The largest width it will be displayed at, in pixels. For screens with high pixel density, double that. Making a PNG smaller later is harmless; enlarging one blurs it, so err on the large side.

Does SVG to PNG keep the transparent background?

Yes. Areas the SVG leaves unpainted are transparent in the PNG. A white rectangle drawn inside the SVG as a background stays white, because it is part of the drawing.

Why is the text in my PNG in a different font?

The SVG names a font instead of containing the letter shapes, and that font is not available where the file is rendered. Convert the text to outlines, or paths, in the program that made the SVG and export again.

Can I convert several SVG files at once?

Yes, up to 5 per run on the free plan and 25 on Premium. One width applies to all of them.

Can I set the height instead of the width?

No. Only the width can be entered and the height follows from the proportions. To force other dimensions, convert first and then use Resize image.

Why was my SVG rejected?

The file has to be a plain SVG that starts with its svg element near the top. Files that are really another format, malformed markup, and an SVG whose DOCTYPE points at a file outside itself are refused; a compressed .svgz is unpacked and read like a plain one. Open the file in a browser; if it does not display there, it will not convert here.

Are my graphics stored?

The SVG files and the PNGs are deleted automatically within one hour.