How to Convert SVG to PNG — The Resolution Decision You Must Get Right

Converting SVG to PNG is fundamentally different from converting between raster formats. SVG is vector — it describes shapes mathematically and has infinite resolution. PNG is raster — a fixed grid of pixels. The moment you convert SVG to PNG, you permanently lock in a specific pixel dimension. Choose too small, and the result looks blurry when displayed larger. Choose too large, and you create unnecessarily large files.

The most common mistake: taking the default export size from a design tool (which might be 72×72 or 100×100 pixels) and using that PNG in a print project or large display context. This guide teaches you how to pick the correct dimensions every time.

Convert SVG to PNG — Free, Specify Your Dimensions

Set the exact pixel width for your PNG export. Transparency preserved. Runs in your browser.

Quick answer: To convert SVG to PNG for free in your browser: use Convertlo's SVG to PNG converter — set the output resolution and download. For batch conversion, Inkscape's CLI (inkscape --export-type=png *.svg) is the fastest option.

SVG vs PNG: The Vector vs Raster Distinction

Understanding why you need to choose resolution requires understanding what these formats actually are:

SVG (Scalable Vector Graphics) is a text-based XML format that describes an image as a series of mathematical instructions: "draw a circle at center 50,50 with radius 30, filled with blue." No matter how large or small you display the SVG, the browser renders it fresh from those instructions at the current display size — always crisp, always perfect. A 1 KB SVG logo looks sharp on a phone screen and on a 4K display.

PNG is a raster format — a fixed rectangular grid of pixels. A 200×200 PNG has exactly 200 columns and 200 rows of pixels, each with a specific color value. If you display a 200×200 PNG at 400×400 pixels, the browser must scale up the pixel grid — producing visible softening or blurriness because it is interpolating between fixed pixel values.

When you convert SVG to PNG, the renderer rasterizes the vector instructions at a specific pixel dimension. That dimension is a one-time decision that determines how sharp the PNG will look at various display sizes.

The Right Resolution for Every Use Case

Website favicon

Export at 32×32px (standard) and 192×192px (Android PWA). Many tools require both.

Website logo (nav)

Export at 2× the CSS display size. If displayed at 150px wide, export at 300px wide for Retina/HiDPI screens.

Email header logo

Export at 600px wide maximum (email width standard). For Retina clients, 1200px and set width attribute to 600 in HTML.

Social media profile

Twitter/X: 400×400px. Facebook: 170×170px. LinkedIn: 300×300px. Instagram: 110×110px display, upload 200×200px.

Print at 300 DPI

Multiply physical size (inches) × 300. A 2"×2" logo needs 600×600px. A business card logo (1") needs 300px minimum.

PowerPoint / Word

Export at 1500–2000px on the longest side. These apps display at low resolution but print at high DPI if the source is large enough.

The 72-DPI Trap — Most Common SVG Export Mistake

Many design tools (Illustrator, Figma, Inkscape) default to exporting SVG as PNG at the artboard's "document resolution" — often 72 DPI, the legacy "screen resolution" standard from the era of 72-pixel-per-inch CRT monitors.

If your SVG artboard is 2 inches × 2 inches and you export at 72 DPI, you get a 144×144 pixel PNG. That looks adequate on screen — but if you print that image at 300 DPI, it covers only 0.48 inches × 0.48 inches at full sharpness, and the remaining area is upscaled and blurry.

The fix: always specify your export dimensions explicitly in pixels, independent of DPI settings. Think in pixels, not inches, for digital exports.

Method 1: Convertlo — Free, Specify Width

1
Convertlo — Browser-Based, Transparency Safe
Recommended
  1. Open convertlo.pro/svg-to-png.html.
  2. Drop your SVG file onto the converter.
  3. Enter the desired width in pixels. The height scales proportionally from the SVG's viewBox aspect ratio.
  4. Click Convert to PNG. The SVG is rendered in an offscreen canvas at your specified dimensions.
  5. Download the PNG. Transparent areas from the SVG are preserved in the PNG output.

If your SVG has no explicit width/height attributes (only a viewBox), the converter uses the viewBox dimensions as the default. Always review the dimensions shown before converting.

Method 2: Inkscape CLI — Precise Control

2
Inkscape — Free, Full SVG Renderer, CLI Batch
Free & Open Source
  1. Install Inkscape (free at inkscape.org).
  2. Use the command line for precise pixel export.
# Export SVG to PNG at 300px wide (Inkscape 1.x syntax)
inkscape --export-type=png --export-width=300 -o output.png input.svg

# Export at 600px wide for print quality
inkscape --export-type=png --export-width=600 -o output.png input.svg

# Batch: export all SVGs at 500px wide
for f in *.svg; do
  inkscape --export-type=png --export-width=500 -o "${f%.svg}.png" "$f"
done

# Using ImageMagick (rsvg must be installed for good SVG support)
convert -density 300 -resize 600 input.svg output.png

# Using rsvg-convert (best SVG renderer for CLI)
rsvg-convert -w 600 input.svg -o output.png

Of the CLI tools, rsvg-convert (from the librsvg package) produces the most accurate SVG rendering. ImageMagick's SVG support is functional but may not render all SVG features correctly (gradients, filters, complex paths). Inkscape is the most feature-complete SVG renderer available.

Method 3: Figma, Illustrator, or Sketch Export

3
Design Tools — Export at Specific Scale
  1. Figma: Select the SVG frame/component. In the right panel under "Export," click +. Set format to PNG, set scale (1x, 2x, 3x) or custom size. Click "Export." For 2x (Retina): set to 2x scale.
  2. Adobe Illustrator: File → Export → Export As → PNG. In the dialog, set Resolution to 72 (screen), 150, or 300 PPI. Or use File → Export for Screens and set exact pixel dimensions per artboard.
  3. Sketch: Select the layer. Click the + icon in Export panel. Set size to "1x", "2x", or enter custom dimensions. Export as PNG.

For Illustrator: using "Export for Screens" (File menu) gives you more control than "Export As" — you can set exact pixel dimensions independently of the document's DPI setting.

Resolution Reference Table

Use CaseRecommended WidthNotes
Website icon (16px display)32px2x for HiDPI; use ICO/SVG for favicon where possible
App icon (iOS/Android)1024pxStores scale down from single large source
Email logo header600pxMax email width; 1200px if sending to Retina clients
Social profile picture400pxCovers all platforms; they scale down as needed
Print logo (business card)1200px+300 DPI × physical size; bigger is safer for print
PowerPoint slide logo800pxEnough for display; 1500px for high-DPI projectors
Open Graph image1200px wideog:image standard is 1200×630px

When to Keep SVG Instead of Converting to PNG

Before converting, check whether SVG itself would work for your use case. SVG is supported virtually everywhere modern:

  • Websites: All modern browsers display SVG in <img> tags, CSS backgrounds, and inline. SVG is always preferred for logos on web.
  • Figma, Sketch, Illustrator: All import and export SVG natively.
  • WordPress: Supports SVG uploads with a security plugin (SVG files must be sanitized).

Convert to PNG when: the destination is email (Outlook doesn't support SVG in all versions), when the tool explicitly requires raster format, or when you need the SVG embedded in a context that doesn't support vector (PDF thumbnails, old CMS systems, WhatsApp).

Convert SVG to PNG Right Now

Specify your target width, download a crisp PNG. Transparency preserved.

Frequently Asked Questions

What resolution should I use when converting SVG to PNG?
It depends on the use case. For web display, export at the CSS pixel dimensions you need (or 2× for Retina/HiDPI). For email, 600px wide maximum is standard. For print at 300 DPI, multiply the physical size in inches by 300: a 2-inch logo needs 600px. For social media, match platform specs: 1200×630px for og:image, 400×400px for profile pictures, 1080×1080px for Instagram posts.
Why does my SVG look blurry after converting to PNG?
You exported at too small a pixel dimension. If you converted an SVG logo to PNG at the SVG's default viewBox size (often 100×100 or 200×200) and then displayed it at a larger size, the browser or app had to upscale the raster pixels — causing blurriness. Always export at the largest size you need, or for Retina displays, export at 2× the CSS pixel size.
Does converting SVG to PNG lose quality?
At the export resolution, no — PNG is lossless, so the rasterized pixels are stored perfectly. But SVG is inherently infinite-resolution vector art, while PNG is fixed pixels. If you display the PNG at any size other than the exact export size, it will either be scaled up (blurry) or down (slightly softened). Export at the maximum size you need to avoid upscaling.
What is the difference between SVG and PNG?
SVG stores shapes, paths, and text as mathematical descriptions that render at any size perfectly. PNG stores a fixed grid of pixels. SVG is ideal for logos, icons, illustrations, and graphics. PNG is ideal for photographs and complex images. For logos on websites, SVG is almost always the better choice — smaller file, infinite sharpness, styleable with CSS.
Should I use SVG or PNG for my website logo?
SVG is almost always better for logos on websites. SVG scales perfectly on all screen densities including 4K and Retina displays, is smaller in file size than PNG for logo shapes, can be styled with CSS, and is indexed by search engines. Use PNG for logos only when SVG is not an option — some email clients, older CMS platforms, or specific contexts require raster formats. If you must use PNG, export at 2× the display size for sharpness on HiDPI screens.

Convert SVG to PNG free — no upload required

Export at any pixel dimensions. Transparency preserved. Works entirely in your browser tab.

🖼 Convert SVG to PNG →