Skip to content

Convert SVG to PNG at any size, free, in your browser

An SVG is a vector image: a description of shapes that can be drawn at any size. A PNG is a grid of pixels at one fixed size. To convert SVG to PNG, the vector is rendered at the pixel size you want and saved. Because the SVG is sharp at every size, the important choice is the output size: pick a multiple such as 2× or 4×, or an exact width. This converter renders in your browser, keeps transparent backgrounds, and handles batches.

A7SVG → PNG — ToolsBoxx
Ready0 B sent to server

Your files never leave your device. Processing happens in your browser.How that works.

How it works

  1. Drop your .svg files onto the tool.
  2. Choose a size: a multiple of the original (1× to 8×), or an exact width in pixels.
  3. Download the PNGs, or all of them as a zip.

Runs as JavaScript inside this tab. Turn off your connection after the page loads and it still works.

Image formats compared

Format Compression Transparency Animation Typical use Opens everywhere?
JPG / JPEG Lossy No No Photographs Yes
PNG Lossless Yes (full alpha) No (APNG is rare) Screenshots, logos, line art, text Yes
WEBP Lossy or lossless Yes Yes Web images Browsers yes; some editors and forms no
HEIC / HEIF Lossy (HEVC) Yes Sequences iPhone and iPad photos Apple devices yes; Windows and the web often no
SVG Vector (not pixels) Yes Yes (scripted) Icons, logos, diagrams Browsers yes; many apps no
GIF Lossless, 256 colours 1-bit Yes Simple animations Yes
AVIF Lossy or lossless (AV1) Yes Yes Newer web images Modern browsers

Which format should I convert to?

  • A photo to share, upload or email → JPG. Smallest widely accepted format. Quality 85 to 90 is visually identical to the original for nearly all pictures.
  • A screenshot, logo, diagram or anything with sharp edges or text → PNG. JPG leaves smudges around hard edges; PNG keeps them exact.
  • Anything with a transparent background → PNG or WEBP. JPG cannot store transparency.
  • An image for a website → WEBP. About 25 to 35 percent smaller than JPG at the same quality, and supports transparency.

What converting does and does not do

  • Converting to PNG never loses quality, but it cannot restore quality that a JPG or WEBP already lost.
  • Converting to JPG always loses a little. At quality 90 the loss is not visible; repeated re-saving adds up, so keep an original.
  • JPEG and JPG are the same format. Changing one to the other is a rename. This tool keeps the bytes exactly and only changes the extension.
  • Metadata is not carried over. The converted file contains only the picture: no GPS location, camera details or capture date. That protects your privacy when sharing, but keep the original if you need that information.
  • Orientation is applied. A photo stored sideways with a rotation flag comes out upright.
  • Colour: pictures are converted to standard sRGB, which is what the web and nearly all screens expect.

JPG quality guide

Quality Use Size relative to quality 90
95–100 Printing, archiving 1.5–3× larger
85–90 General use; no visible loss 1×
70–80 Websites, email about 0.5–0.7×
50–60 Small previews; artefacts start to show about 0.3–0.4×
below 40 Only when size is everything smaller still, visibly degraded

SVG to PNG sizes

An SVG has no fixed pixel size, so you choose one. The tool multiplies the SVG’s own width and height (or its viewBox):

SVG size 1× 2× 4× 8×
24 × 24 (icon) 24 × 24 48 × 48 96 × 96 192 × 192
200 × 120 200 × 120 400 × 240 800 × 480 1600 × 960
512 × 512 512 × 512 1024 × 1024 2048 × 2048 4096 × 4096

Use 2× or more for anything shown on phones and high-density screens, and an exact width when a platform asks for one (for example 1024 px for an app icon).

About HEIC

HEIC (High Efficiency Image Container) stores images compressed with HEVC, the same technology as 4K video. Apple made it the default camera format in iOS 11 (2017) because files are about half the size of JPEG at the same quality. Decoding it needs a codec that Windows, many Android apps and most websites do not include, which is why conversion is so often necessary. This converter includes its own decoder (libheif, compiled to WebAssembly) that runs on your device.

Worked examples

These are real results from this tool on a 640 × 480 test photo, measured in Chrome. Your files will differ, but the proportions are typical.

Conversion Before After Change
HEIC → JPG (quality 90) 148 KB 106 KB 28% smaller here; phone photos usually come out larger
HEIC → PNG 148 KB 599 KB 4× larger (lossless)
WEBP → PNG 113 KB 687 KB 6× larger (lossless)
WEBP → JPG (quality 90) 113 KB 113 KB about the same
PNG → JPG (quality 90) 809 KB 114 KB 86% smaller
JPG → PNG 124 KB 594 KB 4.8× larger, same picture
SVG → PNG at 2× 244 bytes 11 KB 400 × 240 px
SVG → PNG at 8× 244 bytes 67 KB 1600 × 960 px

What the table shows

  • PNG → JPG is the big saver for photos: 809 KB became 114 KB with no visible difference.
  • Going to PNG always grows a photo several times over, because nothing is discarded. Do it for editing or when a form insists, not to save space.
  • An SVG is tiny because it is instructions, not pixels. The PNG size depends entirely on the dimensions you choose.

JPEG → JPG

A file named scan.jpeg comes back as scan.jpg with every byte identical, in a few milliseconds. The result line says “Renamed, not re-encoded”.

A batch of iPhone photos

Drop 40 HEIC files at once. They are converted one after another on your device, the list fills in as each finishes, and “Download all as .zip” gives you one file containing 40 JPGs.

A logo with a transparent background, to JPG

The transparent area is filled with the background colour you pick, white by default. To keep the transparency, choose PNG or WEBP instead.

Frequently asked questions

What size will the PNG be?

The SVG’s own width and height (or its viewBox if those are missing) multiplied by the scale you pick. A 200 × 120 SVG at 4× becomes an 800 × 480 PNG. Or type an exact width and the height follows.

Is the background transparent?

Yes. Areas the SVG does not draw stay transparent in the PNG. Switch the output to JPG to get a solid background colour instead.

Why do my fonts look different?

An SVG that refers to a font by name uses whatever your device has installed. If the font is missing, a substitute is used. Convert text to outlines in your design tool before exporting the SVG to avoid this.

Why are some images inside the SVG missing?

For security, browsers do not load external files that an SVG links to when it is drawn as an image. Embed images in the SVG as data instead of linking them.

How large can the PNG be?

Up to about 16,000 pixels on a side. Beyond that browsers refuse to create the drawing surface.

Are my files uploaded to a server?

No. The work is done by your own browser on your own device, and the files are never sent anywhere. You can check by loading this page, switching off your internet connection and using the tool; it still works.

SVG → PNG · last updated · changelog · part of Canned Tuna