How to convert SVG to PNG
- Drop one or more SVG files onto the box above, or open Or paste SVG code and paste the markup.
- Choose the size: a Scale of 1×, 2×, 4× or 8×, or an exact Width in pixels. The height follows the shape of the SVG.
- Choose the background: Transparent, White, or any Color.
- Choose the format: PNG, JPG or WebP.
- Download each image, or click Download all as ZIP when you converted several files.
Changing any setting converts the files again straight away. The conversion runs in your browser, so your files are never uploaded.
Why the result stays sharp
SVG is a vector format: it describes shapes and lines, not pixels. This converter does not take a small picture and stretch it. It sets the SVG to the size you choose and lets the browser draw every shape at that size, so a 24-pixel icon exported at 8× is as crisp as one drawn at 192 pixels.
The size options work like this:
- 1× uses the SVG's own width and height. If the file only has a viewBox, its numbers are used as pixels. If it has neither, browsers use 300 × 150 pixels, and the tool tells you.
- 2× and 4× suit high-resolution screens such as phones and laptops with Retina or HiDPI displays, and slides that are shown large.
- Width is best when a website, app store or print shop asks for an exact size, such as 512 or 1024 pixels.
Images are limited to 16,384 pixels on each side, the largest size browsers can reliably draw. Larger requests are reduced and marked in the results.
PNG, JPG or WebP?
- PNG keeps transparency and sharp edges. It is the right choice for logos, icons and illustrations, and the one most apps expect.
- JPG has no transparency, so transparent areas become white or the color you choose. Use it only when a form or app does not accept PNG.
- WebP keeps transparency and makes smaller files than PNG. Modern browsers and most design tools accept it.
What the converter cannot include
When a browser draws an SVG as an image, it blocks anything loaded from other websites, for privacy and security. That means:
- Linked images: pictures referenced by a web address are left out. Images embedded in the file as data (base64) are kept.
- Web fonts: text is drawn with fonts installed on your device. If the text must look exactly right, convert it to outlines (paths) in your design app before exporting the SVG.
- Embedded HTML inside
foreignObjectmay not be drawn in some browsers.
Frequently asked questions
How do I convert SVG to PNG with a transparent background?
Leave the background set to Transparent and the format set to PNG or WebP. Any area of the SVG without a fill stays transparent in the result.
How do I get a high-resolution PNG from an SVG?
Choose 4× or 8×, or type the width you need. Because the shapes are redrawn at that size, the PNG is sharp however large you make it.
Can I convert many SVG icons at once?
Yes. Select or drop several files together. Each one is converted with the same settings, and you can download them together as a ZIP file. File names keep the original name, plus @2x and so on for the scale.
Can I convert SVG code copied from a website or design tool?
Yes. Open Or paste SVG code, paste the whole <svg>…</svg> element, and click Convert pasted code.
Related tools and guides
To make an icon or logo square with padding, use the Square Photo Maker. If the PNG is too large for an upload limit, use Compress Image to a Specific Size.