SVG to PNG Converter

Add an SVG logo, icon or drawing and get a PNG at the size you choose, its empty background still see-through.

FluffyShield Protected workspace
FluffyShield

Isolated workspace: other page scripts can't read your files. How FluffyShield works

Free · No upload · No sign-up · No usage quotas

PNG options here: browser or advanced encoder; RGBA, RGB, grayscale or indexed color; 8- or 16-bit; Fast, Balanced or Maximum compression; interlacing. Which PNG settings are worth changing?

How it works
  1. The SVG's shapes are checked in your browser
  2. They're drawn onto a grid of pixels
  3. The grid is saved as a PNG

What it does

Nothing painted behind it

Where the drawing has no shapes, the PNG stays see-through, soft edges included: 618,955 of our test PNG's 691,200 pixels.

A moving SVG held still

An SVG that animates is saved as its opening moment, and its card says so.

Limits An SVG holding a script or a web page, or pointing at pictures or styles kept in other files, is turned away. Pictures written inside the SVG itself are fine.

How many pixels will your SVG's PNG have?

Usually the file decides. When it doesn't, the browser you happen to convert in does.

Where does the PNG get its width and height?

An SVG has no pixels to count. It's a list of shapes, and a logo in that form can be drawn as small as a favicon or as big as a banner. A PNG has to settle on one size, so before anything is saved, your browser draws the shapes onto a grid of pixels. The size of that grid is the size of your PNG.

An SVG file can say what it should be. At the top of the file, two numbers give a width and a height, and those are what count. Our test drawing, an old book illustration of a milkweed traced into black shapes, lays its shapes out on a grid of its own, 1,491 × 2,000 units, yet its first line says 720 wide by 960 high. The PNG came out 720 × 960 pixels. How far you were zoomed in the app you made it in plays no part, but the size it saved into the file does.

And if the file doesn't give a size?

Then the browser decides, and browsers don't decide alike. For the guide below, we saved one small icon several ways. Written with its own grid but no width or height, it came out 150 × 150 pixels in Chromium, the engine behind Chrome, and 300 × 300 in Firefox. With no grid and no size at all, both drew it in a box of 300 × 150, the stand-in box web pages use for something with no size of its own.

So the same file can make a small PNG in one browser and a larger one in another. Under Size, the Dimensions choice settles it: give a width, and the shapes are drawn afresh at that size, not stretched from a smaller copy. How many pixels to ask for depends on where the picture is going; the SVG export-size guide works that out for a screen.

Asking FluffyBench for a PNG of a chosen width

  1. Press Choose images and pick your .svg.

  2. Bring up the settings with the gear button on a phone; on a computer they already show beside the converter.

  3. Under Size, press Dimensions.

  4. In Width, type the number of pixels you need. With Keep aspect ratio ticked, the height follows.

    The Size setting with Dimensions chosen, a width typed in, the height left on Auto and Keep aspect ratio ticked.
    The Size setting with Dimensions chosen, a width typed in, the height left on Auto and Keep aspect ratio ticked.
  5. Press Convert 1 to PNG.

  6. Save the PNG with the arrow on its finished card.

When does the drawing need something other than a PNG?

The site or form you're sending it to takes only JPGs.

FluffyBench's SVG to JPG converter

The empty background has to become a color there, white unless you pick another.

Search FluffyBench