CraftTools

SVG to PNG Converter

Guide: SVG vs PNG: When to Use Each and How to Shrink SVG Files

Drag an SVG file here, or

Your images stay on your device. Nothing is uploaded.

120 × 120 px becomes 240 × 240 px

Save as

Result

Making your picture…

Drawing happens in your browser, so the file is never uploaded. Text in an SVG uses the fonts on your device, and pictures that load from other websites are not drawn.

Nothing you enter or choose here leaves your device. This tool runs in your browser.

Why you'd convert an SVG

SVG is drawn from shapes, so it stays sharp at any size and the files are tiny. But plenty of places won't take one: many email clients, some social sites, slide decks and print shops want a plain picture. Converting gives you a PNG, JPG or WebP at exactly the size you pick.

Choosing size and format

ForSizeFormat
App or site icon512 by 512PNG, transparent
Social sharing image1200 by 630PNG or JPG
Email logo2 times its display sizePNG
Slide or documentTwice the size it will printPNG
Web photo-like artworkAs neededWebP

Pick a larger size, up to 8 times the SVG's own, and the picture is drawn at that size from the shapes, so it's crisp, not stretched. A tiny 24-pixel icon scaled 8 times is a sharp 192-pixel PNG.

Backgrounds

PNG and WebP can be transparent. Leave Transparent background ticked and the clear areas of your drawing stay clear. JPG can't be transparent, so it gets a solid color, which you can choose. Pick a color that matches wherever the image will go. A white fill on a dark page makes an ugly box.

When the result looks wrong

  • The text uses a different font. SVG text relies on fonts installed on the device. If yours isn't there, the browser swaps another. In your drawing program, convert text to outlines before you export the SVG.
  • It fails to convert. The SVG needs a width and height, or a viewBox, so the tool knows its size. Add one to the opening tag.
  • Part of the picture is missing. Images that load from other websites aren't drawn. Embed them in the file instead.
  • The edges are cut. The artwork extends past the viewBox. Enlarge the viewBox or move the drawing.

Pasting code instead of uploading

You can paste SVG code straight into the box, which is useful for a snippet copied from a web page or generated by a chart library. Check that it begins with an svg tag and carries the xmlns attribute, or some programs won't open it.

Files stay in your browser and aren't uploaded. To make an SVG lighter before or after converting, use the SVG optimizer. The guide to SVG and PNG explains when to use each, and the image converter handles other formats.

A quick routine for an icon set

  1. Open each SVG, or paste its code, and set the size to the largest you'll need, such as 512 pixels.
  2. Export as PNG with a transparent background.
  3. Use the image resizer to make the smaller sizes from that one file, or export again at each size. Exporting from the SVG each time is sharper than shrinking a PNG.
  4. Name the files with their size, like icon-192.png, so they're easy to find.

Written by Akinrinmade Michael · Updated October 24, 2026

How to use

  1. 1Drag in an SVG file, or paste the SVG code.
  2. 2Choose the size, the file type and the background.
  3. 3Download the converted picture.

Frequently asked questions

Is my SVG uploaded?

No. Everything happens in your browser, so your files are never uploaded.

How do I make the PNG bigger?

Choose a larger size, up to 8 times the SVG's own size. SVG is made of shapes, so the picture stays sharp at any size.

Will the background be transparent?

Yes for PNG, if you leave Transparent background ticked. JPG can't be transparent, so it gets a solid color you can choose.

Why does my text look different?

Text uses the fonts on your device. If the SVG needs a font you don't have, the browser swaps in another one. Converting text to outlines in your drawing program fixes it.

Why did my SVG fail to convert?

The SVG needs a width and height or a viewBox so the tool knows its size. Pictures that load from other websites are also not drawn.

Read the guide

Learn how this works and how to get the most from it.

Images

SVG vs PNG: When to Use Each and How to Shrink SVG Files

How vector SVG differs from PNG, when each is best, how to turn an SVG into a PNG at any size, and how to clean up and optimize SVG files.

3 min read

SVG Optimizer

Make SVG files smaller by removing the extras editors add.

Image Converter

Convert between PNG, JPG and WebP in your browser.

Image Resizer

Resize images to exact pixels or a percentage. Batch friendly.

Favicon Generator

Make favicon.ico and app icons from a letter, emoji or image.