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
2Adjust the options
3Preview and download
SVG codeEdit or paste the SVG you are exporting
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.
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- 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 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 · drawImageEncode 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
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.
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.
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.
Choose the background
Leave it transparent, or fill with white, black or a custom color.
Tip: Transparent PNGs work on any page color.
BeforeAfterDownload the PNG
Press Download PNG to save the file.
Tip: The file is rendered on your device.
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
At a glance
- Largest: 8×.
- Smallest: 1×.
Pixels grow with the square of the scale: 4× has 16 times the pixels of 1×.
| Use | Scale | Background | Typical output |
|---|---|---|---|
| Web icon | 1× | Transparent | Natural size, e.g. 64×64 |
| Retina or high-density screens | 2× | Transparent | Twice the natural size |
| Social media post image | To 1200 px wide | White | 1200×630 target |
| App store icon | To 1024 px | Opaque | 1024×1024 |
| Print or poster | 4×–8× | White | Very 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.
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.
No converter matches that search. Try “SVG”, “logo” or “PNG”.