SVG to PNG

Convert SVG files or code to sharp PNG images at 1× to 4× size, in your browser

Runs in your browser

Size

What is an SVG to PNG converter?

SVG is a vector format: shapes are described as math, so they stay sharp at any size, but many apps, social sites and office tools only accept pixel images. This tool lets your browser draw the SVG at the size you pick, from 1× to 4×, and saves it as a PNG that keeps transparent areas. Because the SVG is drawn as a vector at the final size, the result is sharp instead of an enlarged blurry copy.

Use cases

  • Turn an SVG logo or icon into a PNG for a document, slide or email
  • Make a high-resolution PNG of an icon for an app or website
  • Convert a chart or diagram exported as SVG into an image you can share
  • Batch convert a folder of SVG icons and download them as one ZIP

When to use it

Use it whenever an app needs a regular image instead of SVG. Choose 2× or more for screens and print. To get a JPG or WebP afterwards, use PNG to JPG; to make the image a certain pixel size, use Resize Image.

Examples

  1. Icon at 2×

    Input

    icon.svg, 24 × 24, size 2×

    Output

    icon.png, 48 × 48, transparent background

  2. Logo with white background

    Input

    logo.svg, 200 × 80, size 4×, white background

    Output

    logo.png, 800 × 320, white background

  3. Pasted SVG code

    Input

    svg code with only viewBox 0 0 100 100, size 1×

    Output

    svg-1.png, 100 × 100

Questions and answers

Is the PNG transparent?

Yes. Transparent areas of the SVG stay transparent in the PNG. Turn on White background if you need a solid background.

Will the PNG be blurry at a bigger size?

No. The SVG is drawn as a vector at the final size, so 2×, 3× and 4× are as sharp as 1×.

Why are some images or fonts missing in the PNG?

Browsers don’t load outside files, such as linked images or web fonts, when drawing an SVG as an image. Embed images as data URLs and convert text to paths, or use fonts installed on your device.

Are my SVG files uploaded?

No. The files are read and drawn in your browser and the PNGs are saved straight to your device. Scripts inside an SVG never run.

Sources and standards

All Tools