SVG to PNG Converter

Convert SVG to PNG online — free, no upload, batch supported. Set custom size, background, DPI, and export 1x/2x/3x for all platforms. All processing is local.

Upload SVG Files

Drag & drop SVG files here, or click to select. Batch upload supported.

Transparent Background • 1x/2x/3x Export • 100% Local

Key Features of SVG to PNG Converter

Flexible Output Size

Export at original SVG size, set a specific width (proportional scaling), or specify exact width and height. Check 1x, 2x, and 3x simultaneously to export all scales in one click.

Batch with Per-File Warnings

Upload any number of SVG files. Each file shows its original dimensions and is automatically checked for issues: missing size info, external fonts, cross-origin images, or unresolved currentColor — with colour-coded warnings before you convert.

currentColor Replacement

Many icon SVGs use currentColor for theming. Enable the replacement option and choose a target color — the tool replaces all currentColor references before rasterising, so the PNG renders exactly as intended.

Background & DPI Control

Transparent, white, or any custom colour background. Optionally embed DPI metadata (72 / 96 / 144 for Apple @2x recognition, or custom) so the PNG opens at the correct physical size in Figma, Photoshop, and print tools.

Guides & Tips

SVG to PNG: When to Use Each Format

SVG and PNG serve different purposes, and understanding when to use each makes the conversion more intentional.

SVG (Scalable Vector Graphics) is resolution-independent — it renders perfectly at any size because it describes shapes mathematically rather than storing pixels. SVGs are ideal for logos, icons, illustrations, and any asset that must display at multiple sizes. The file is also human-readable XML, which means it can be styled and animated with CSS and JavaScript.

PNG (Portable Network Graphics) is a raster format — a fixed grid of pixels at a specific resolution. It supports lossless compression and full alpha-channel transparency, which is why it is the standard for web icons, app assets, and images that must appear on platforms that do not support SVG (email clients, some CMS platforms, older apps).

When PNG is the right choice

  • Email templates — most email clients do not render SVG reliably
  • App stores and OS icon requirements — iOS, Android, and macOS require PNG at specific pixel dimensions
  • Social media uploads — platforms accept PNG universally but SVG support is inconsistent
  • Figma and design handoff — PNG assets are easier to use for developers who are not working with SVG tooling
  • Third-party platforms — CMSes, ad platforms, and analytics tools often accept PNG but not SVG

Exporting Icons at 1x / 2x / 3x — What the Scales Mean

Multi-scale PNG export is the standard workflow for icon and UI asset delivery across iOS, Android, and web.

Why multiple scales exist

Modern device screens have varying pixel densities — a phone screen may pack 3 physical pixels into every 1 logical pixel (3x / @3x). If you export only a 1x PNG and display it on a Retina or high-DPI screen, it will appear blurry because the OS scales it up. Exporting at 2x and 3x provides the additional pixel density the device needs.

Scale naming conventions

  • 1x — base resolution, for standard displays. File: icon.png
  • 2x (@2x) — double pixel density, for Retina displays (most modern phones and MacBooks). File: icon@2x.png
  • 3x (@3x) — triple pixel density, for high-DPI Android and the latest iPhones. File: icon@3x.png

ZIP folder structure

When exporting multiple scales, the tool generates a ZIP with scale folders (1x/, 2x/, 3x/) or a flat structure with scale suffixes — matching the folder conventions expected by Xcode asset catalogs, Android drawable folders, and web build pipelines.

DPI and Apple @2x recognition

Setting DPI metadata to 144 causes macOS and iOS to identify the PNG as a @2x asset — useful when dropping assets directly into Xcode or Finder. The DPI value does not change the pixel dimensions; it only writes a metadata tag that applications read to determine the intended display size.

Handling currentColor in SVG Icons

currentColor is a CSS keyword that tells an SVG element to inherit its fill or stroke colour from the surrounding CSS context — typically the text colour (color) of the parent element. It is the standard technique for making icon libraries themeable.

When you embed an SVG inline in HTML, currentColor picks up whatever color value is set on the parent element. But when you export to PNG — a static raster format — there is no CSS context. The browser will resolve currentColor to its default value (usually black), which may not match the intended appearance.

How the replacement works

Before rasterising, the tool scans the SVG source code and replaces every instance of currentColor (in fill, stroke, stop-color, and other properties) with the hex colour you specify. The result is a PNG that renders at the exact colour you chose, regardless of any CSS context.

When to enable it

  • Your icon appears entirely black or invisible in the PNG preview
  • You are exporting icons for use on a coloured background and need the icon in white or a specific colour
  • You are exporting icons for a design system handoff where the icon should appear in the brand colour

The tool automatically detects SVGs that contain currentColor and shows a blue info badge on the file row — a reminder to enable the replacement option if the default rendering does not match your intent.

Batch SVG to PNG for Design Workflows

The most common batch SVG-to-PNG use case is icon set export. A typical design system might contain hundreds of SVG icons that need to be exported as PNG for documentation, app stores, or platforms that do not support SVG.

Use case 1 — iOS and macOS app icon export

Xcode requires PNG assets at specific sizes for app icons (1024×1024 for the App Store, plus smaller sizes for various contexts). Upload the master SVG, set custom width and height, enable 1x/2x/3x export, set DPI to 144, and download the ZIP. The folder structure matches what Xcode's asset catalog expects.

Use case 2 — Design system documentation

Icon documentation sites and Storybook instances often display PNG previews alongside code examples. Upload the full icon set, export at 24×24 (1x) and 48×48 (2x), and download as ZIP. All filenames are preserved.

Use case 3 — Email template assets

Most email clients (Outlook, Gmail mobile) do not render inline SVG. Export your SVG icons as PNG at the exact pixel size used in the template — typically 24px or 32px — with white or transparent background to match the email design.

Use case 4 — Social media and ad platform uploads

Ad platforms (Google Ads, Meta, LinkedIn) accept PNG but not SVG. Export your logo or icon at the required dimensions with the correct background colour (white for platforms that do not support transparency) in a single batch operation.

How to use

1

Upload SVG Files

Drag and drop your SVG files or click to select. Each file immediately shows a thumbnail preview, original dimensions, and any detected warnings (missing size, external fonts, currentColor).

2

Configure Output

Set output size (original / width / custom) and select export scales (1x, 2x, 3x — multiple allowed). Choose background, enable currentColor replacement if needed, and optionally embed DPI metadata.

3

Convert & Download

Click Convert. Download individual PNGs from each file row, or download all as a ZIP — with scale folders (1x/, 2x/, 3x/) or flat structure with scale suffixes (@2x, @3x).

Frequently Asked Questions About SVG to PNG Converter

All processing happens locally in your browser using the Canvas API. Your SVG files are never uploaded to any server. This means your files remain private, conversion works offline after the page has loaded, and there are no file size limits imposed by upload restrictions.