🔀 SVG to PNG

Convert SVG vector graphics to PNG at any resolution

✓ Free Forever · ✓ No Signup · ✓ No Upload · ✓ Works Offline

🔒 Your image never leaves your device. All processing happens locally in your browser using Canvas API + SVG rendering. No upload, no server, no tracking.

Features

  • Custom Scale — Export at 1x, 2x, 4x, or any custom resolution for pixel-perfect raster output.
  • Custom Dimensions — Set exact width and height in pixels for precise output sizing.
  • Background Options — Choose transparent background or any solid color.
  • Paste or Upload — Upload an SVG file or paste SVG code directly.

How It Works

  1. Add your SVG — Upload an SVG file or paste SVG code in the editor.
  2. Set output options — Choose scale, custom dimensions, and background color.
  3. Convert and download — Click Convert and download the high-resolution PNG.

Use Cases

  • Export SVG icons and logos as high-res PNGs for social media
  • Generate app store assets from SVG source files
  • Convert SVG graphics to PNG for email compatibility
  • Create print-ready raster images from vector artwork

Frequently Asked Questions

What scale should I use?

1x matches the SVG's original dimensions. Use 2x or 3x for Retina screens. For print, pick a DPI under Print resolution instead (300 DPI is the usual): the size then comes from the SVG's real size, and the file says its DPI. Higher scales produce larger files.

Can I paste SVG code directly?

Yes. Switch to the Paste SVG tab and paste your SVG markup. The preview updates instantly.

Does it support transparent backgrounds?

Yes. Transparent is the default. You can also choose any solid background color.

Can I make a 300 DPI PNG or JPG for print?

Yes. Pick 300 DPI under Print resolution: the image is made at the SVG’s own size at 300 pixels per inch (an A4 SVG from Inkscape comes out 2480 × 3508 px) and the PNG or JPG file says 300 DPI, so Word, Preview or a print shop place it at the right size. The page shows the pixel size and the print size before you convert. WebP and AVIF can’t store a DPI value; their pixel size is still right.

Why is a picture or a font missing from my PNG?

The SVG links to it instead of holding it: a photo saved next to the file, or a web font from Google Fonts. A browser draws an SVG picture without anything outside the file (nothing is fetched), so the photo is missing and the text uses another font. The page names those files before you convert. Put them inside the SVG (pictures as data: URIs; text converted to outlines in Inkscape, Illustrator or Figma) and convert again.

Can I get a JPG, WebP or AVIF instead of a PNG?

Yes. Pick the format above the size options: PNG, JPG, WebP or AVIF. This page always opens on PNG; SVG to Image remembers the format you used last.

Notes from Milo 🐨

2026-11-13

People kept asking how to get a 300 DPI PNG out of an SVG for print, and the honest answer was "do the maths and type a width". Now there's a Print resolution choice: pick 300 DPI and the picture is made at the SVG's real size at 300 pixels per inch (an A4 drawing from Inkscape comes out 2480 × 3508), the PNG or JPG says 300 DPI inside, and the page shows the print size before you convert. Two quiet failures got words too: an SVG that links to a photo or a web font instead of holding it used to come out with the photo missing and the text in another font, so the page now names those files first; and an SVG with HTML inside used to fail with a browser error about "tainted canvases", which now says what's going on. A size too big for your browser says so instead of "returned nothing".

2026-10-26

This page can now save more than PNG. A format choice sits above the size options: JPG (transparent parts get your background colour), WebP (keeps transparency, smaller files; Safari can't write it, so there you get a PNG and the page tells you) or AVIF (smallest, a few seconds to make). It still opens on PNG every time, and a batch still comes back as one ZIP.

Related Tools

  • 🔀 SVG to Image — Turn an SVG into a PNG, JPG, WebP or AVIF image: pick the format, the size and the background
  • 🔀 SVG to JPG — Convert SVG graphics to JPG at any size, with the background colour you choose
  • 🔀 SVG to WebP — Convert SVG graphics to WebP: smaller than PNG and still transparent
  • ⭐ Favicon Generator — Generate ICO + PNG favicons in all sizes from a single image

💬 Bug, idea, or just to say hi? Tell Milo 🐨 · [email protected]