The quick answer
To convert SVG to PNG, the browser draws the vector at the pixel width you choose and saves the result as a PNG. Pick a width larger than you need, keep the background transparent for logos, and download. The PNG will not scale up cleanly later, so export at the final size.
How to convert SVG to PNG
- Choose or drop an .svg file.
- Set the output width in pixels. Height follows the SVG’s aspect ratio.
- Keep the background transparent, or choose white for documents and email.
- Convert, inspect the preview and download the PNG.
Pick the width before you export
An SVG has no fixed pixel size, but a PNG does. For a website logo, export at twice the display width so it stays sharp on high-density screens. For print, multiply the printed width in inches by 300.
Why some SVGs render differently
Fonts that are referenced but not embedded fall back to a system font, and external images inside the SVG are blocked for safety. Convert text to outlines in your editor first if the lettering must match exactly.
SVG vs PNG at a glance
| SVG | PNG | |
|---|---|---|
| Full name | Scalable Vector Graphics | Portable Network Graphics |
| Type | Vector (XML text) | Raster |
| Compression | Text; can be gzip-compressed as SVGZ | Lossless (DEFLATE) |
| Transparency | Yes | Yes, full alpha channel |
| Pages or frames | Single drawing | Single image (APNG is an extension) |
| Best for | Logos, icons, diagrams and cutting files | Screenshots, logos, UI and transparent graphics |
Format references: W3C: SVG 2 specification · W3C: PNG specification
Private by design
The conversion runs in your browser with JavaScript. Files are not uploaded, stored or logged. Read the privacy policy for details about ordinary website requests.
By Shahab Uddin · Updated