SVG to PNG

Turn an SVG into a PNG.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Choose an SVG file and press Process. The vector image is drawn by your browser and saved as a PNG.

How to use

1
Step 1
Choose an SVG file.
2
Step 2
Press Process.
3
Step 3
Download the PNG.

How it works

The browser loads the SVG as an image and draws it onto a canvas at its natural size, then saves the canvas as PNG with transparency. There is no scale control. The size comes from the width and height attributes in the SVG itself. An SVG that has only a viewBox and no width or height is drawn at the browser default of 300 × 150 pixels, so add explicit width and height to the file if you need a particular output size.

Worked example

A logo

Input
logo.svg with width 512 and height 512
Output
logo_output.png at 512 × 512
Walkthrough
The canvas is the size the SVG declares.

Limitations

  • No output size or scale option; the SVG defines it.
  • An SVG with only a viewBox (no width and height) comes out at 300 × 150 pixels, and one with no size information at all may render blank.
  • External fonts and linked images inside the SVG may not render.
  • One file at a time.

Questions

How do I convert SVG to PNG?
Choose the SVG, press Process, and download the rendered PNG.
How do I get a larger PNG?
Edit the width and height in the SVG, then convert again.
Does it keep transparency?
Yes, PNG keeps transparent areas.

Features

  • Transparent PNG output
  • Browser rendering
  • Private, in-browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Working with Responsive Images

    Chrome for Developers

    When to convert versus keep the original format for art direction.

    Watch on YouTube
  • Responsive images - PWA Training

    Chrome for Developers

    Performance impact of serving the right converted image.

    Watch on YouTube