Add up to 30 SVG files (up to 20 MB each) and save them as PNG images. Pick 1x, 2x or 4x of the size set in the SVG, or type an exact width, and the height follows the aspect ratio. Outputs can be up to 8,192 px per side, transparent areas stay transparent, and the conversion runs in your browser, so the files never leave your device.
Convert SVG to PNG at any size
An SVG describes shapes, so it can be drawn at any size without losing sharpness. A PNG stores a fixed grid of pixels. Converting means choosing that grid: this tool draws the vectors directly at the output size, so a 2x or 4x PNG is as sharp as the 1x one, with no upscaling blur.
The 1x size comes from the SVG itself. When the file has width and height attributes in pixels or other absolute units, those are used. Many icons and exported graphics only have a viewBox, and then its width and height count as pixels. A file with neither gets the browser default of 300 × 150 px. The preview shows the exact output size before you download.
When you need a PNG instead of an SVG
SVG is the better format for logos and icons on a website, but many places don't accept it. Most social networks, many email programs and a lot of upload forms want a raster image. Some sites also refuse SVG uploads on purpose, because an SVG file can contain scripts. A PNG works in all of those places and keeps the transparent background that a logo usually needs.
App icons, favicons, thumbnails and slide decks are other common reasons. If you need several sizes, run the same files again at another scale, or convert once at a large size and use the batch resizer.
How the conversion works
The browser renders each SVG as an image, the same way it shows an <img> on a web page, and then writes the pixels to a PNG file. In that mode scripts inside the SVG don't run and nothing is loaded from other websites, so converting an SVG from an unknown source is safe.
That has two side effects. Pictures that the SVG links to by URL and web fonts it loads from elsewhere won't appear. Embedded images and fonts installed on your computer work fine. An animated SVG becomes a still image.
The PNG comes from the browser's own encoder, which favors speed over size. To make it smaller, run it through the PNG compressor. If you need a JPG with a solid background instead, use SVG to JPG.
Frequently Asked Questions
Does converting SVG to PNG lose quality?
The PNG is drawn from the vectors at the size you choose, so it is as sharp as the SVG at that size. What you lose is scalability: enlarging the PNG later makes it blurry. Convert at the largest size you will need, such as 2x or 4x for high-density screens.
Is the transparent background kept?
Yes. Areas of the SVG with nothing drawn stay transparent in the PNG. If you want a white or colored background, convert to JPG with the SVG to JPG converter, where you can pick the color.
What size will my PNG be?
At 1x it matches the width and height set in the SVG, or its viewBox when the file has no size. 2x and 4x multiply both sides, and a custom width sets the exact width in pixels. The longest side can be up to 8,192 px; larger requests are scaled down to fit and the result says so.
Why is part of my SVG missing in the PNG?
Usually the SVG links to an outside file, such as a photo or a web font from another site. Browsers don't fetch outside files for an SVG drawn as an image. Embed the image in the SVG, or convert text to outlines in your design program, and convert again.
Can I convert several SVG files at once?
Yes. Add up to 30 SVGs and they are converted with the same settings, then you can download them one by one or as a ZIP.
Are my files uploaded?
No. The conversion happens in your browser, and your SVG files never leave your device.