SVG to PNG Converter

Input

Drop an SVG file here

or paste with Ctrl+V. Up to 10 MB per file.

Your files stay on your device. Nothing is uploaded.

Live preview

Estimated file size: Add an SVG to see the estimate.

Output format

Lossless, and the background can stay transparent.

Size
Resolution (DPI)

With a scale, more DPI means more pixels: 300 DPI is 3.125 times the pixels of 96 DPI. The DPI is also saved inside PNG and JPG files.

Background

Transparent areas stay see-through. Choose a solid color if your target platform does not support transparency.

SVGs using currentColor render black by default. Pick a color to match your brand.

App icon and favicon sizes

One click sets the exact size. The SVG is fitted inside it, centered.

Step by step: how your SVG becomes an image

Example: a 24 × 24 icon to a 1,024 × 1,024 PNG
  1. Load the SVG. Its size is 24 × 24 px, taken from its viewBox.
  2. Exact size 1024 × 1024 px. The drawing is enlarged 42.67 times to fit inside it with its shape kept.
  3. Output size: 1,024 × 1,024 px at 96 DPI, 1.05 megapixels. The limit is 8,192 px on a side.
  4. Make a canvas of 1,024 × 1,024 px with a transparent background.
  5. Draw the SVG onto the canvas. currentColor becomes #000000. Fonts and pictures from outside files are not loaded, for security.
  6. Encode as PNG: lossless, transparency kept. The 96 DPI is saved in the file.
  7. Result: a 1,024 × 1,024 px PNG file.

App icon size guide

The sizes most sites and apps ask for. Each row is one click in the presets above.

UseSize (px)Where it is used
Favicon16 × 16Browser tab
Favicon32 × 32Browser tab on sharp (retina) screens, bookmarks
Favicon48 × 48Site icon in search results, desktop shortcuts
Favicon64 × 64Larger site icon files
Apple Touch Icon180 × 180iPhone and iPad home screen
Android and PWA192 × 192Android home screen, PWA manifest
Android and PWA512 × 512PWA install prompt and splash screen
iOS App Store1,024 × 1,024App Store listing
Social share (OG)1,200 × 630Link preview (Open Graph) on social networks and chat apps

SVG to PNG Converter by Ivorytool, free tools that run in your browser.