Free Online Image Optimizer What it's for

Convert SVG to PNG

An SVG has no size of its own — it is instructions for drawing rather than a grid of pixels — so the only real question is how large you want the PNG to be. This page draws it in your browser, by default at twice the size the file nominally asks for, and you can ask for a specific width instead: a 24-pixel icon can come back at 1024 across, sharp, because there is nothing to enlarge — it is redrawn. Transparency survives intact. The drawing itself is never sent anywhere: only the finished PNG is.

Drop your SVG here

How to convert SVG to PNG

1

Drop in the drawing

One SVG at a time. Your browser reads it and draws it — the file is not uploaded to do this.

2

It becomes a PNG straight away

Drawn at twice the nominal size to begin with, so it holds up on a high-resolution display, with any transparent areas kept transparent.

3

Pick a width, then save it

The width control decides how many pixels across the finished PNG is — more than the drawing nominally asks for, or fewer. It is redrawn at whatever you pick, so a bigger number is sharper rather than blurrier.

Step by step, with screenshots: How to turn an SVG into a PNG

Questions

What is an SVG file?

An SVG is a drawing stored as instructions rather than as pixels — lines, curves, fills and text, written in XML you can open in a text editor. That is why it stays sharp at any size: it is redrawn rather than enlarged, which is what makes it the natural home for logos, icons and diagrams. The catch is that most things which are not a browser or a design tool refuse to take one, and that is what this page is for.

Why does the text in my drawing look wrong?

Because a drawing does not carry its fonts. Text in an SVG names a typeface and leaves the rest to whatever is reading it, so it is drawn here with the fonts installed on your own device — which may not be the ones the drawing was made with. If the wording has to be exact, convert the text to outlines in your editor before exporting; it then travels as shapes and cannot be substituted. This page tells you when a drawing contains text, so you are never surprised by it afterwards.

How large is the PNG I get back?

Twice whatever size the drawing declares, by default. If it declares none — plenty of SVGs carry only a viewBox — the shape is taken from that instead. The width control then sets the finished size exactly, up to 4096 pixels on the long edge, and the picture keeps its proportions whatever you choose. A very large square stops a little short of that: the limit is on the total pixel count as well as the edge, because Safari on an iPhone quietly returns a blank canvas above roughly 16 megapixels. The page prints the size you actually got under the width buttons.

Does a transparent background survive?

Yes. PNG stores transparency properly, so whatever was see-through in the drawing is still see-through afterwards. That is the main reason to choose PNG here rather than JPEG, which has no way to store it and would fill the gaps with solid colour.

Is my SVG uploaded to your servers?

The drawing itself is not. It is read and rasterised by your own browser, and only the finished PNG is sent to be optimised. That is unusual on this site — most of the tools here do their work at the far end — and it is a consequence of how the conversion has to be done rather than a feature added on top. MP4 to GIF is the other one, for the same reason: the engine will not touch a video clip either.