Skip to the content

Contact usFree tools · No signup · Files stay on your device

Image Tools

SVG to PNG: the complete guide to converting SVG logos and icons

SVG to PNG: the complete guide to converting SVG logos and icons

An SVG is a drawing described by shapes, which is why it stays sharp at any size. The trouble starts when a site, a Word file or a social network asks for a PNG instead. Our free SVG to PNG tool redraws your SVG at the exact size you choose, so the PNG is crisp rather than a stretched small picture. It is made for designers, developers, shop owners and anyone who has a logo file and needs it somewhere that will not accept SVG.

This guide goes through every control on the page, how the pixel size is worked out, and the problems people meet most often. If you want the shorter recipe for a logo, see how to export an SVG logo as a high-resolution PNG.

What SVG to PNG does

The tool opens each SVG, works out how big it is, redraws it at the size you ask for, and saves the result as a PNG. Because the drawing is made again at the new size, there is no blur from enlarging.

It can:

  • Convert up to 50 SVG files in one go.
  • Draw them at 1×, 2×, 4× or at a custom width in pixels.
  • Keep see-through areas see-through.
  • Save as JPG, WebP or ICO instead of PNG, if you need one of those.
  • Give you the results one by one or as a single ZIP.

It does not edit the drawing. It cannot change colours, crop, or fix a broken SVG. For turning a picture back into shapes, the opposite job, use PNG to SVG.

How to use SVG to PNG, step by step

  1. Open SVG to PNG.
  2. Press Choose SVG files, or drop the files on the box. You can also paste a copied image with Ctrl+V.
  3. Leave Output format on PNG. Under SVG size pick 1×, 2×, 4× or Custom width. For Custom width, type a number in the Width (px) box.
  4. Press Convert image to PNG (with several files the button says, for example, Convert 3 images to PNG).
  5. Each file gets a card showing the new size, the file size and a note such as "Drawn at 960×320 px." Press Download on a card, or Download all as ZIP when there are several results.

A file called logo.svg is saved as logo.png. The ZIP is named converted-png.zip.

If you change the size or the output format after converting, the old results are cleared, because they no longer match your settings. Press Convert again.

Every option explained

Output format

PNG is the default on this page. The other choices are JPG, WebP and ICO. WebP is hidden if your browser cannot create WebP files. Choose PNG when you need transparency and sharp edges, JPG only when the place you are uploading to insists on it.

When you pick JPG, a Quality slider (10 to 100, starting at 90) and a Background for transparency colour box appear. JPG has no see-through areas, so the colour fills them. PNG ignores both.

SVG size: 1×, 2×, 4× or Custom width

The multipliers work on the SVG's own size. The tool reads the width and height on the opening <svg> tag and understands the usual units: px, pt, pc, mm, cm, in, em and ex. A few examples:

What the SVG says 1× 2× 4×
width="120" height="40" 120 × 40 240 × 80 480 × 160
only viewBox="0 0 24 24" 512 × 512 1024 × 1024 2048 × 2048
width="50mm" height="20mm" 189 × 76 378 × 151 756 × 302

Custom width sets the width in pixels, and the height follows the shape. Choose 1000 for the 120 × 40 logo and you get 1000 × 333. The box accepts 1 to 8,000.

Percentages such as width="100%" are ignored, since they mean nothing without a page around them; the tool falls back to the viewBox.

Quality and background (JPG only)

Quality trades file size against fine detail. The background colour matters more: a white logo on a white fill disappears, so pick a contrasting colour before you convert.

Icon sizes (when you pick ICO)

If you switch the output to ICO, the SVG is drawn at 256 px and cut down to the icon sizes you tick. The SVG size row is hidden, because the icon sizes take its place. The dedicated PNG to ICO page explains these in detail.

What it accepts and its limits

  • Files: up to 50 at a time, 200 MB in total. Extra files are left out with the notice "Only 50 images can be processed at once", or "The total size limit is 200 MB" when the total is too big.
  • Largest output: 8,000 pixels wide, and the height is capped at 8,000 as well. A canvas this big can still be too much for a phone; the tool then shows an error like "The output would be … px — too large for the browser. Use smaller dimensions."
  • Other pictures: you can add PNG, JPG, WebP and similar files too. They are converted at their own size, and the SVG size setting does not apply to them.
  • Not accepted: anything that is not an image. A text file renamed to .svg is rejected with "isn't a supported image (or it's damaged)".

Privacy

SVG to PNG runs in your browser. The SVG is read on your device, drawn on a canvas and saved from there, so nothing is uploaded. That is useful for client logos and unreleased brand files. You can check on a computer by opening the browser's Network tab while you convert: no file is sent.

What the tool does to your SVG file

To control the output size, the tool rewrites the opening <svg> tag in memory before drawing: it replaces width and height with the final pixel size, and adds a viewBox if the file did not have one, so the artwork scales instead of being cropped. Your original file is never changed. Only the drawing step sees the edited copy.

Tips to work faster

  • Convert all the sizes you need from the same SVG, not from a PNG. A 4× PNG is as sharp as a 1× one, but a 1× PNG enlarged later is not.
  • For a website logo displayed 180 px wide, a 2× PNG (360 px) looks sharp on sharp phone screens.
  • Put a whole brand folder in at once, then take the ZIP.
  • Keep the result's file size in mind. A large PNG with many colours can be several megabytes; run it through Image Compressor afterwards if a form has a size limit.
  • If you only need a different size of an existing PNG, use Resize Image instead.

Common problems and how to fix them

"couldn't be drawn — it isn't a valid SVG or uses features this browser can't render"

This is the message when the browser refuses to draw the file. Open the SVG in a text editor: a valid file starts with <svg (possibly after an <?xml … ?> line). Files exported with some very advanced effects, or with broken markup, fail here. Re-export from your design program with "Save as plain SVG" if it offers that.

The text looks different

Fonts are the usual cause. If your logo's text refers to a font that is installed on the designer's computer but is not in the file, the browser uses another font. Convert text to outlines before exporting, and the shapes will draw the same everywhere.

A linked picture is missing

An SVG that points to a picture file on the web or on a disk cannot load it when drawn as an image. Embed the picture inside the SVG, or flatten the layer first.

The PNG looks empty

The SVG may contain only white shapes on a transparent background. They are there, but a white page hides them. Open the PNG on a dark background, or export as JPG with a dark Background for transparency to see it.

Quick checklist

  • Pick the pixel size first, then convert.
  • Use PNG for transparency, JPG only when asked for it.
  • Convert text to outlines in the SVG so fonts cannot change.
  • Check the "Drawn at … px" note on each card.
  • Keep the SVG as your master file and make PNGs from it whenever you need a new size.

Frequently asked questions

How is the size of my PNG worked out?
1×, 2× and 4× multiply the width and height written inside the SVG file. A custom width sets the width in pixels and the height follows the shape. If the SVG states no size at all, it is treated as 512 pixels wide.
Can I convert an SVG that has no width and height?
Yes. The tool reads the viewBox and uses 512 pixels as the width, with the height following the viewBox shape. With neither a size nor a viewBox it makes a 512 × 512 square.
What happens if I choose JPG instead of PNG?
JPG cannot be see-through, so transparent areas are filled with the colour shown under Background for transparency (white to start with). A note on the result says which colour was used.
Why was only part of my batch converted?
The page takes up to 50 files and 200 MB in total at once. Files beyond that are left out and a yellow notice tells you how many. Convert the rest in a second round.
Why does the PNG show a different font from my SVG?
Your browser draws the SVG as an image, and an image cannot load fonts or files from elsewhere. If the logo uses a font that is not built into the SVG, the browser swaps it. Convert the text to outlines (paths) in your design program and export the SVG again.
Found this useful? Share it

Tools in this guide

Main tool

SVG to PNG

Turn SVG logos and icons into sharp PNG images at exactly the size you need.

Open tool

PNG to SVG

Turn a PNG, JPG or other picture into an SVG made of vector shapes that stay sharp at any size.

Open tool

PNG to ICO

Make .ico icon files from your PNG images, with 16, 32, 48, 64, 128 and 256 pixel sizes packed into one file.

Open tool

Resize Image

Change the width and height of one photo or a whole batch, with presets for social media and passport photos.

Open tool

Back to all guides & blog