Skip to content
KazamTools

SVG to PNG Converter

Sharp PNGs from SVG icons, logos and charts at any size, made in your browser.

Files are processed in your browser and never uploaded.How it works

or drop icons, logos and charts here. Each one becomes a PNG; nothing is uploaded.

Output size

1× is the size written in the SVG. 2× or 3× gives crisp images on phone and Retina screens.

Background

How to use the SVG to PNG

  1. 1Click Choose SVG files or drop them onto the box.
  2. 2Pick the output size: a scale such as 2×, an exact width in pixels, or a print DPI.
  3. 3Keep the background transparent, or choose white, black or any colour.
  4. 4Download each PNG, or all of them as a ZIP.

Why convert SVG to PNG?

SVG (Scalable Vector Graphics) stores shapes as instructions: “draw a circle here, fill it blue”. That makes SVG perfect for logos and icons, because it stays sharp at any size and the file is tiny. But many places do not accept SVG: social networks, email signatures, Microsoft Office on older versions, app stores, marketplace listings, favicon generators and most upload forms. PNG works everywhere and keeps transparency, so it is the usual export format.

How this converter works

  1. Your browser reads the SVG and works out its intrinsic size, from the width and height attributes, or from the viewBox when those are missing.
  2. The tool rewrites only the outer <svg> tag so the drawing is rendered at exactly the size you picked. If the file has no viewBox, one is added from the original size, so the picture scales instead of being cropped.
  3. The browser draws the vector shapes straight onto a canvas of that size, then saves it as PNG.

Nothing is uploaded and nothing in the SVG can run: browsers treat it as a plain picture, so scripts inside a file never execute.

Choosing the size

Option What it means Typical use
Scale 1× The size written in the SVG Matching a design exactly
Scale 2×–3× Two or three times as many pixels per side Websites and apps on phones and Retina screens
Width in pixels An exact width; height follows the shape Icons for app stores (512, 1024), social images
DPI (print) Pixels per inch of the SVG, plus a DPI tag Printing logos, stickers and posters

How DPI works: on the web, one inch is 96 CSS pixels. A logo that is 2 inches wide in the SVG (192 CSS pixels) becomes:

Output width = SVG width in CSS pixels × (DPI ÷ 96) = 192 × (300 ÷ 96) = 600 pixels

The PNG also stores 300 DPI in its pHYs header, so layout and print software know it is meant to print 2 inches wide.

Worked examples

  • App icon: a 24 × 24 icon SVG, width mode set to 1024 px, gives a crisp 1024 × 1024 PNG for an app store listing.
  • Website logo: a 160 × 40 logo at 2× gives 320 × 80 pixels, which looks sharp on phones while displayed at 160 × 40.
  • A4 poster: an SVG sized 210mm × 297mm at 300 DPI gives 2480 × 3508 pixels, the standard print resolution for A4.

The list below the tool shows the SVG’s own size and the PNG size for every file, so you can check before downloading. Scale exports are named like logo@2x.png, the convention used by iOS and web developers.

Fixing common SVG problems

  • Text looks like a different font. If the SVG uses a font that is not installed on your device, the browser substitutes another. In your design tool, convert text to outlines (Illustrator: Create Outlines; Inkscape: Object to Path; Figma: Outline stroke / Flatten) before exporting the SVG.
  • Photos or textures are missing. SVGs sometimes link to images in another file or website. For privacy, linked files are not loaded during conversion. Embed the images in the SVG instead.
  • Everything is tiny or the wrong shape. Files with width="100%" and no viewBox have no real size, so browsers fall back to 300 × 150. Use Width in pixels, or add a viewBox in your editor.
  • Huge sizes fail. Browsers cannot draw canvases over about 16,384 pixels per side or 100 megapixels. The tool tells you before trying.

After converting

  • Make a website favicon from the PNG with PNG to ICO.
  • Shrink PNGs for the web with PNG to WebP (lossless keeps every pixel) or Compress Image.
  • Need a JPG for a form that refuses PNG? Use SVG to JPG, which fills transparent areas with white or a colour you choose.
  • Resize the result later without going back to the SVG with Resize Image, though for the sharpest result it is better to export at the final size here.

Frequently asked questions

Will the PNG be blurry?

No. The SVG is drawn directly at the size you choose, so edges are as sharp as the format allows at that size. Choose 2× or 3× for phone and Retina screens.

Is the transparent background kept?

Yes, by default. Areas the SVG leaves empty stay transparent in the PNG. You can also fill them with white, black or a custom colour.

How do I convert SVG to PNG at 300 DPI?

Choose DPI (print) and 300 DPI. SVG sizes are measured at 96 pixels per inch, so the drawing is scaled by 300 ÷ 96 = 3.125 and 300 DPI is written into the PNG.

Why do some text or images look different?

An SVG can use fonts installed on the designer’s computer or link to outside images. For privacy and security, browsers do not load linked files when converting. Convert text to outlines and embed images in the SVG before exporting.

Is it safe to open SVG files here?

Yes. The SVG is drawn as a plain image, so any scripts inside it never run, and the file is never uploaded.

What is the largest PNG I can make?

Up to 16,384 pixels per side and 100 megapixels, which is what browsers can safely draw. That is enough for a poster at 300 DPI.

Was this tool helpful?