SVG to PNG Converter: Export SVG as a Sharp PNG at Any Size

Render your SVG to a lossless PNG at the scale you choose, with transparency kept or a background filled.

SVG to PNG Converter tool

1Add your SVG

Drop your SVG here, or click to browse Or paste SVG code anywhere on the page. Nothing is uploaded.
No file?

2Adjust the options

3Preview and download

Live preview
sample.svg
SVG codeEdit or paste the SVG you are exporting
Input SVG code

Under the hood

How SVG to PNG Converter works

An SVG to PNG converter renders vector shapes into a grid of pixels and saves them as a lossless PNG. Because the SVG is resolution-independent, you choose the output size and keep transparency.

  1. <svg viewBox="0 0 400 300"><path fill="#6366f1" d="…"/></svg>

    Read the SVG

    The converter parses your SVG, reads its width, height and viewBox, and works out the natural size of the artwork.

    DOMParser · viewBox
  2. 1000 px750 px

    Choose the output size

    The Scale slider multiplies the natural size from 0.25× to 16×. A 400×300 SVG at 2.5× becomes a 1000×750 PNG.

    Scale × natural size
  3. Rasterize in your browser

    The browser’s own SVG renderer draws the artwork onto a canvas at the exact output size, so curves are anti-aliased at full resolution.

    Canvas · drawImage
  4. PNGlossless

    Encode a lossless PNG

    The canvas is saved as PNG with its alpha channel, or filled with white, black or a custom color first if you prefer.

    Canvas · toBlob PNG
The four stages of the SVG to PNG Converter, from your input to the finished file.

Why export from SVG to PNG

Any resolution
You can render the same SVG at 64 px for a thumbnail or at 4096 px for print, with identical sharpness.
Transparency is kept
Empty areas of the SVG stay transparent unless you choose a background fill.
A pixel inspector
Hover the preview to see the exact color and alpha of any pixel.

Step by step

SVG to PNG Converter process

Four steps turn an SVG into a PNG. The scale you choose decides the pixel size.

  1. Add your SVG

    Drop an .svg file, paste SVG code anywhere on the page, or press the sample button.

    Tip: You can also edit the code in the box.

    Drop SVG
  2. Set the scale

    Pick 1× for the natural size, 2× for retina screens, or 4× and above for print.

    Tip: The pixel dimensions update live.

    ScaleBackgroundSize
  3. Choose the background

    Leave it transparent, or fill with white, black or a custom color.

    Tip: Transparent PNGs work on any page color.

  4. Download the PNG

    Press Download PNG to save the file.

    Tip: The file is rendered on your device.

    Download PNGsvg-to-png.png

Use the SVG to PNG Converter

Reference

SVG to PNG Converter settings / conversion chart

The table lists common PNG export targets. The chart shows that pixel count grows with the square of the scale, which is why large scales make large files.

Relative pixel count by scale

Relative pixel count by scale1×: 1×; 2×: 4×; 4×: 16×; 8×: 64×.1×1×2×4×4×16×8×64×
Pixels grow with the square of the scale: 4× has 16 times the pixels of 1×.

At a glance

  • Largest: 8×.
  • Smallest: 1×.

Pixels grow with the square of the scale: 4× has 16 times the pixels of 1×.

SVG to PNG Converter settings by use
UseScaleBackgroundTypical output
Web icon1×TransparentNatural size, e.g. 64×64
Retina or high-density screens2×TransparentTwice the natural size
Social media post imageTo 1200 px wideWhite1200×630 target
App store iconTo 1024 pxOpaque1024×1024
Print or poster4×–8×WhiteVery large, check file size

Answers

SVG to PNG Converter FAQ

Questions people ask about the SVG to PNG Converter, answered for this specific use case.

What size should I export an SVG to PNG at?

Use 1× for the natural size, 2× for retina screens and 4× or more for print. The exact pixel dimensions are shown under the Scale slider.

Will the PNG keep a transparent background?

Yes, by default. Choose White, Black or Custom if you want a solid fill instead.

Why is my PNG much larger than the SVG?

An SVG stores shapes, while a PNG stores every pixel. A 1000×750 PNG contains 750,000 pixels, so it is almost always larger than the SVG source.

Are my files uploaded?

No. The SVG is rendered by your own browser, and the PNG is created locally.

What if my SVG renders blank?

Make sure it has a valid width, height or viewBox and no external resources such as linked images, which browsers do not load inside a standalone SVG image.

Ready to try it?

Your result is one drop away.

Open the SVG to PNG Converter

All converters

Every free converter and SVG tool

43 free tools that run in your browser. Pick a converter below, or search by format or task.