Blog · Design tools

How to export SVG to PNG at high resolution

To get a sharp PNG from an SVG, render it at the size it will be shown multiplied by the screen's pixel density, usually 2x or 3x. A logo displayed at 200 px wide should be exported at 400 or 600 px wide.

Title card reading “Export SVG to PNG at high resolution” beside a screenshot of the Digital Sauce SVG to PNG converter showing a pink app icon with a white tick on a transparent checkerboard canvas.

A blurry PNG from a perfectly good SVG almost always means it was exported at 1x. Modern phones and laptops pack two or three device pixels into every CSS pixel, so a 1x PNG gets stretched and goes soft. The fix is to export more pixels. Our SVG to PNG converter has 1x to 4x buttons and a custom size, and works without uploading anything.

Why does my PNG look blurry?

Screens describe sizes in CSS pixels, but high-density displays have more physical pixels than that. The ratio is the device pixel ratio (DPR): 2 on many laptops and 3 on many phones (MDN: devicePixelRatio). An image shown at 200 CSS pixels wide on a 3x phone is drawn across 600 physical pixels. If the PNG only has 200, the device has to invent the rest.

Apple asks for the same thing in app design: provide images at @2x and @3x so they look sharp on every iPhone and iPad (Apple Human Interface Guidelines: Images).

Which size should you export?

Multiply the size it will be displayed at by 2 for most uses, and by 3 if it is mainly seen on phones. Here is the maths for common display widths:

Shown at1x2x3x4x
32 px icon326496128
120 px logo120240360480
200 px logo200400600800
600 px illustration6001,2001,8002,400
1,200 px banner1,2002,4003,6004,800

Going beyond 3x rarely helps on screen and makes files heavier. 4x is useful for print mock-ups, slides on very large displays, or when you are not sure where the image will end up.

Method 1: in your browser (no install)

  1. Open the SVG to PNG converter and drop in your SVG.
  2. Pick 2x or 3x, or choose Custom and type the exact width. Height follows the SVG's proportions.
  3. Check the size shown under the preview, then click Download PNG. Several files? Use Download all as ZIP.

The tool draws the SVG on a canvas at your chosen size, so the PNG is rendered fresh at full resolution, not upscaled.

Method 2: from Figma

Select the layer or frame, open the Export section in the right sidebar, choose PNG and set the scale (for example 2x or 3x), then export. Figma's help centre lists PNG and SVG export settings in Export formats and settings. If you only have the SVG (not the Figma file), use Method 1.

Method 3: on the command line

For scripts and build steps, two free tools do the job:

inkscape logo.svg --export-type=png --export-filename=logo@2x.png --export-width=400
rsvg-convert -w 400 logo.svg -o logo@2x.png

In Inkscape 1.x, --export-width sets the bitmap width in pixels and the height follows the aspect ratio (Inkscape man page). rsvg-convert comes with librsvg, available through most Linux package managers and Homebrew on Mac.

How should you name the files?

Use a suffix so everyone knows which density a file is: logo.png, logo@2x.png, logo@3x.png. That is the convention iOS uses, and many web teams follow it. On the web you can serve them with srcset:

<img src="logo.png" srcset="logo@2x.png 2x, logo@3x.png 3x" width="200" height="60" alt="Company logo">

Of course, if the destination accepts SVG, use the SVG and skip all of this. See SVG vs PNG for when each format wins.

SVG to PNG converterTurn SVG files into sharp PNGs at 1x to 4x or any exact size. Free, no sign-up, runs in your browser.

Open the tool →

FAQ

What resolution should I export an SVG to PNG?

Export at the display size multiplied by 2, or by 3 if the image is mostly seen on phones. A 200 px wide logo becomes a 400 or 600 px wide PNG.

Does converting SVG to PNG lose quality?

Not if you export at the size you need. The SVG is drawn fresh at that size, so the PNG is sharp. Quality only drops if you later enlarge the PNG.

What is the difference between 2x and 3x?

2x has twice the pixels in each direction of the 1x size, and 3x has three times. 3x suits most modern phones; 2x suits most laptops and tablets.

How do I export a 4K PNG from an SVG?

Choose Custom in the converter and type 3840 as the width. The height follows the SVG's proportions. The tool supports up to 8,192 px on the longest side.

Why is my exported PNG cropped?

The SVG is probably missing a viewBox or has content outside its canvas. Re-export it from your design app with the whole artboard or frame selected.

Last updated 16 November 2026. Sources are linked in the text. Spotted something out of date? Email development@digitalsauce.io.

Need a design system that ships?

Digital Sauce designs and builds apps and websites in Melbourne, from brand colours to the code.

Start a project →