SVG to PNG Converter
Turn an SVG logo, icon or diagram into a PNG at exactly the size you need. Vector files scale cleanly, so you can render them large without blur.
- Nothing is uploaded
- No sign-up
- No watermark
Drop SVG files here, choose them, or paste with Ctrl+V
Choose SVG filesLogos, icons, charts and diagrams saved as .svg.
Files stay on your device. Nothing is uploaded.
Each SVG is redrawn from its vector shapes at the size you pick, so large exports stay sharp.
An SVG is a set of drawing instructions: a circle here, a curve there, this colour, that thickness. A PNG is a grid of coloured pixels. Converting means choosing how many pixels the grid should have, and that choice is the whole point of this tool. Because the SVG is redrawn from its shapes at the target size, a 24-pixel icon exported at 512 pixels is as crisp as if it had been designed that big. Enlarging an existing PNG would just make it blurry.
Picking the size
Scale multiplies the size written inside the SVG file. An icon that declares itself 24 × 24 becomes 48 × 48 at 2x and 96 × 96 at 4x. Exact width is better when someone has told you the size they need, such as "logo, 1200 pixels wide"; the height follows the drawing's proportions.
Screens on modern phones and laptops pack two or three physical pixels into each "CSS pixel", which is why images made at exactly the display size can look soft. A simple rule: export at twice the size it will be shown.
| Where the PNG is going | Typical size to export |
|---|---|
| Website header logo shown 200 px wide | 400 px wide |
| App or social profile picture | 512 or 1024 px square |
| Slide in a presentation | 1920 px wide |
| Print at 300 DPI, 5 cm wide | 591 px wide |
The last row comes from 5 cm ÷ 2.54 = 1.97 inches, and 1.97 × 300 = 591 pixels.
When the SVG has no size
Many SVGs exported from design tools state a width and height. Some only have a viewBox, which describes the drawing's coordinate system; the tool then treats one viewBox unit as one pixel. A few have neither, and browsers fall back to 300 × 150 pixels for those. The tool flags such files so you can switch to Exact width. Sizes given in centimetres, millimetres, inches or points are converted at the standard 96 pixels per inch.
Transparency and backgrounds
Most logos and icons have no background, and PNG keeps that: anything the SVG does not paint stays transparent. Untick the box to fill the background with a colour, which is useful for email signatures and documents where transparent images sometimes show up on a black or grey box.
Steps
- Choose a scale or an exact width, and decide on the background.
- Add one or more SVG files.
- Check the pixel size shown under each file, then download the PNGs or a ZIP of all of them.
Exporting a whole icon set
Icon libraries usually come as dozens of small SVG files. Set the scale once, select the whole folder's worth of files, and every icon is rendered with the same settings. The PNGs keep the SVG file names, so arrow-left.svg becomes arrow-left.png, and Download all as ZIP gives you the set in one file. If you need two sizes, say 1x and 2x for an app, run the batch twice and rename the second ZIP before unpacking.
What does not survive the trip
Browsers draw an SVG used as an image in a locked-down mode, and this converter works the same way. That rules out a few things:
- Web fonts and fonts referenced by name that are not on your device. Text falls back to a default font. Converting text to outlines before export avoids this.
- Pictures linked from outside the file, for example an
<image>pointing to a web address. Embedded images (data URLs) do work. - Scripts and interactivity, which do not run. CSS styles written inside the SVG do apply.
- Animation. The PNG shows the drawing at its starting point.
SVGs that use foreignObject to embed HTML may fail to export in some browsers for security reasons. The tool tells you if that happens.
The locked-down mode is also a safety feature: an SVG file can contain script, and opening an unknown one directly in a browser tab runs it. Drawing it as an image, as this tool does, does not. Your files are not uploaded at any point.
Need a favicon from your logo? Image to ICO builds a multi-size .ico file from a PNG made here. To put the image straight into HTML or CSS, see image to Base64.
Frequently asked questions
Why does the text in my PNG use a different font?
An SVG drawn as an image cannot load fonts from the web or your computer's font files unless they are embedded. If the SVG names a font you do not have, the browser substitutes one. Convert the text to outlines (paths) in your design program before exporting the SVG.
What size should I pick for a logo?
Decide where it will be shown and double it for high-resolution screens. A logo shown 200 pixels wide on a website should be exported at 400 pixels.
Can I get a white background instead of transparent?
Yes. Untick Transparent background and choose a colour.
Does it run scripts or animations inside the SVG?
No. Browsers draw SVG images without running scripts or loading external files, which is also why it is safe to convert SVGs you did not make. Animated SVGs are captured in their starting state.