Convert SVG to PNG

Turn SVG files into PNGs you can paste into slides, documents and upload forms, with transparent areas kept, up to 30 at a time. Nothing is uploaded: it all happens in your browser.

Convert to

PNG keeps transparency and loses nothing, so there is no quality setting.

Everything runs in your browser. Your images are never sent to a server.

How to convert SVG to PNG

  1. 1. Drop the SVG files in (or click to choose them). PNG is already selected under Convert to, so each file is converted the moment it arrives
  2. 2. Download each PNG, or press Download all as ZIP

The list holds up to 30 files at a time, up to 50MB a file. For more, download what is there, press Clear and drop the next 30; there is no daily limit.

The PNG is the size the SVG states

An SVG is a set of shapes, not pixels, so it has no resolution until something draws it. This page draws it at the width and height written on its <svg> tag in pixels: an SVG that says 640 by 480 becomes a PNG of 640×480.

Many SVGs from icon sets and design tools state no size at all. The browser then draws them in its default box, which is small: 300×150 when the SVG has no viewBox, or 150px tall when it has one, with the width following the viewBox's shape (a viewBox of 4000×3000 comes out 200×150). That is why a PNG made from a detailed logo can come out tiny and look blurry once it is stretched.

For a large, sharp PNG, write the size you want into the SVG first: open it in a text editor and set width and height on the <svg> tag, keeping the same shape as the viewBox. The drawing is still vector at that point, so it is drawn cleanly at the new size. Enlarging the PNG afterwards only stretches pixels. There is no scale setting here; the size always comes from the file.

Transparency, and when to pick JPEG instead

PNG keeps transparency, so a logo drawn on nothing stays on nothing and can be laid over a slide or a photo. PNG is lossless and has no quality setting: the drawn pixels are written as they are.

If the picture is going somewhere that does not take transparency, choose JPEG under Convert to. Transparent areas are then filled with the colour under Fill transparent areas with, which is white unless you change it. For a favicon, choose ICO.

What it does not do

  • · Scale the SVG for you. Write the width and height into the file
  • · Fetch what the SVG links to. An image or font loaded from another file may be missing; embed it first
  • · Make an SVG. PNG, JPEG, WebP or ICO comes out

Frequently asked questions

Are my files uploaded anywhere?

No. The SVG is drawn and the PNG is written inside your browser, on your own device. Neither file is sent to a server; there is no upload endpoint to send them to, so there is also nothing to delete afterwards.

Why is the PNG so small, or blurry?

The PNG is drawn at the size the SVG states. An SVG with no width and height in pixels gets the browser's default box instead: 300×150 when it has no viewBox, or 150px tall when it has one (a viewBox of 4000×3000 comes out 200×150). However fine the drawing is, the PNG is that size, and it looks blurry once it is stretched. Enlarging the PNG afterwards does not bring the detail back.

How do I get a high-resolution PNG from an SVG?

Open the SVG in a text editor and set width and height on the <svg> tag to the size you want in pixels, for example width="2000" height="1500", then convert it. The drawing is still vector at that point, so it is drawn sharp at the new size. There is no scale setting on this page; the size always comes from the file.

Is the transparent background kept?

Yes. PNG keeps transparency, so whatever the SVG leaves empty stays transparent in the PNG. Choosing JPEG instead fills those areas with a colour, white unless you pick another one.

Why is part of my SVG missing in the PNG?

An SVG that loads an image or a font from another file or website may come out without it, because the browser draws the SVG on its own, without fetching what it points to. Embed the image or font in the SVG, or turn the text into paths, before converting.

How many files can I convert at once?

The list holds 30 at a time, up to 50MB a file. Download them one by one or press "Download all as ZIP", then press "Clear" and drop the next 30. There is no daily limit.

Can it turn a PNG back into an SVG?

No. Making an SVG from a picture means tracing its shapes, which this converter does not do. It writes PNG, JPEG, WebP or ICO.

For the other conversions (AVIF, WebP, HEIC or BMP to JPG or PNG), use theimage converter; it is the same tool with every format on offer. To bring the PNG to an exact width and height, there is theimage resizer. Both run in the browser too.