SVG to PNG Converter
Turn SVG logos, icons and diagrams into transparent PNGs for sites and apps that won't accept SVG.
Drop SVG images to convert to PNG
Add SVG files and they're drawn and saved as PNG, with transparency kept.
JPG · PNG · WebP · AVIF · GIF · BMP · TIFF · SVG
Converting SVG to PNG
Add SVG files above and download PNGs. Your browser draws each SVG to pixels and saves the result as a PNG, so transparent areas stay transparent. The one decision that matters is the pixel size, because a PNG is only sharp up to the size it was made at.
What changes
| Result | |
|---|---|
| Transparency | Kept, including anti-aliased edges |
| Sharpness | Fixed at the PNG's pixel size. Enlarging the PNG later blurs it, unlike the SVG |
| File size | Depends on pixel size, not on how complex the drawing is |
| Scripts and animation | Scripts don't run, and animation isn't kept: one still frame is saved |
| Text | Drawn with fonts installed on your device; a missing font is substituted |
How the PNG's size is chosen
The SVG is drawn at the size its own file declares, read from the width, height and viewBox attributes on its root <svg> element:
- `width` and `height` set: that size, in pixels. Physical units are converted at 96 pixels per inch, so
width="2in"gives 192 px andwidth="50mm"about 189 px. - Only a `viewBox`, or percentage sizes: the viewBox's width and height become the pixel size. A
viewBox="0 0 24 24"icon comes out 24 × 24. - Neither: the size your browser gives an image with no dimensions — 300 × 150 px in Chrome, the web's standard default. Add a
viewBox, orwidthandheight, rather than relying on it.
Very large declared sizes are scaled down to fit what a browser canvas can hold.
Getting a larger PNG that stays sharp
Switching on Resize while converting works on the drawn pixels. Making the PNG smaller than the SVG's declared size is fine. Making it larger enlarges pixels, so edges go soft — the same as enlarging any PNG.
- Open the SVG in a text editorAn SVG is plain text. Find the opening
<svg …>tag at the top. - Set the size you needChange
widthandheightto the pixel size you want, keeping their ratio, for examplewidth="1024" height="1024"for a square icon. Leave theviewBoxas it is; it controls what is drawn, not how big. - Convert it hereThe browser now draws the vector at that size, so every edge is sharp.
PNG, or something else?
- PNG — logos, icons and diagrams for platforms that won't take SVG, with the transparency kept.
- WebP — the same, but smaller, for a website. Choose WebP in the format menu after adding the file.
- ICO and favicon sizes — use the Favicon Generator, which takes the SVG directly.
- Keeping the SVG — on your own website, the SVG itself is usually the better file. See the SVG format.