ICON OOP
Icons & Logos
Convert

Convert SVG icons to PNG

Converting SVG to PNG is a one-way trade: you give up infinite scaling and CSS control, and you get a file that works absolutely everywhere. The question is not how to convert, it is what size to convert at, because that is the decision you cannot undo.

HomeBrowseSVG to PNG

ICON OOP converts any icon in the library from SVG to a transparent PNG at 1x, 2x, 4x, 8x or a custom pixel size. The conversion runs on your own device using the browser's canvas, so no file is uploaded and nothing is stored.

The one decision that matters

Export at two to three times the size you will display it. A PNG shown at 32px should be exported at 64 or 96px. Scaling a PNG up is destructive and there is no fixing it later. Scaling one down is harmless.

How to convert

  1. Open the tool and find the icon you want.
  2. Set the colour before exporting. A PNG cannot be recoloured afterwards with CSS.
  3. Switch the download format to PNG and pick a resolution, or type an exact pixel size.
  4. Download. You get a transparent PNG, ready for slides, documents or anywhere SVG is refused.

Choosing the export size

SettingFrom a 24px iconUse it for
1x24 by 24Almost never. Will look soft on any modern display
2x48 by 48The practical minimum for screens
4x96 by 96Safe default. Sharp on high-density displays
8x192 by 192Print, large display, or when you are unsure
CustomAnythingFavicons, app icons, exact platform requirements

The reason 1x is nearly always wrong: most phones and many laptops have device pixel ratios of 2 or 3, meaning a 24 CSS pixel box is 48 or 72 physical pixels. Supply a 24px PNG and the browser stretches it, so the icon looks blurry next to crisp text.

Common exact sizes worth knowing: favicons at 32 and 180 for Apple touch icons, Android app icons at 192 and 512, and Open Graph images at 1200 by 630. The favicon guide goes through the full set.

When PNG is the right call

  • Presentation software. PowerPoint and Google Slides handle SVG inconsistently across versions and platforms.
  • Email. Most email clients strip SVG entirely. PNG is the only reliable option.
  • Social platforms. Profile images, cover images and most upload fields reject SVG.
  • App store assets and app icons. Platform requirements are PNG at specified pixel sizes.
  • Older CMS and marketplace uploaders that whitelist raster formats only.
  • Anywhere SVG is blocked for security reasons. SVG can contain script, so some platforms refuse it as policy. This is a legitimate concern rather than an arbitrary restriction.

What you give up

Worth being explicit, because it is easy to convert everything out of habit.

SVGPNG
ScalingAny size, one fileFixed. Enlarging degrades it
Recolour with CSSYes, via currentColorNo
AnimateYesNo
File size for a simple iconOften under 1KBSeveral KB, grows with resolution
Sizes needed for a responsive siteOneTwo or three
Works everywhereModern browsers, not all toolsEverywhere

For anything rendered in a browser, SVG is almost always better. Convert when the destination forces it, not by default. Fuller comparison in SVG vs PNG.

Set the colour first, not after

This is the mistake people make once. A PNG is a grid of pixels, so there is no currentColor to inherit and no CSS property that will change it. Once exported, the colour is baked in.

If you need the same icon in three colours, export it three times. If you need it to change on hover, you need two files and a swap, which is a reasonable argument for keeping it as SVG. And if you are exporting a white icon for a dark background, remember it will be invisible on the white preview in your file browser, which alarms people every time.

How the conversion actually works

Useful to understand, because it explains the failure modes. The browser loads the SVG into an image, draws it onto an HTML canvas at the target pixel dimensions, then exports the canvas as a PNG. Rasterisation happens at the size you chose, which is why choosing well matters: the vector detail is discarded at that moment.

Because it is the browser doing the drawing, the output matches what the browser renders. It also means the conversion is bounded by what canvas allows, notably that external references inside the SVG, remote fonts or remote images, will not be included.

None of this involves a server. The file never leaves your device, which matters if you are working with anything under an NDA.

Common problems

  1. The PNG has a white background instead of transparency. Something in the SVG has an opaque background rectangle. Remove it, or export from a source that does not include one.
  2. The PNG looks blurry. Exported too small and scaled up. Re-export at 2x to 4x the display size.
  3. The icon is invisible. It is white on a white preview. Open it against a dark background to check.
  4. Edges look jagged at very small sizes. Fine detail cannot survive 16 pixels. Use a simpler icon for that size rather than a smaller export of a complex one.
  5. Text in the SVG did not render. Canvas cannot resolve an external font. Convert text to paths before exporting.

Frequently asked questions

Open the icon tool, choose your icon, set its colour, then switch the download format to PNG and pick a resolution from 1x to 8x or enter a custom pixel size. The conversion runs in your browser using canvas, so nothing is uploaded to a server and the file never leaves your device.
Two to three times the size you will display it. An icon shown at 32 pixels should be exported at 64 or 96. Most phones and many laptops have device pixel ratios of 2 or 3, so a 1x export gets stretched and looks soft next to crisp text. Scaling a PNG down is harmless; scaling one up is not.
Yes. The exported PNG preserves transparency, so the icon sits cleanly on any background colour. If you get a white background instead, the source SVG contains an opaque background rectangle which needs removing before export.
No. A PNG is a fixed grid of pixels with no currentColor to inherit and no CSS property that will recolour it. Set the colour in the tool before exporting. If you need the same icon in several colours, export it once per colour, or keep it as SVG so CSS can drive the colour instead.
It was exported at too low a resolution and is being displayed larger than its pixel dimensions. PNG is a raster format, so enlarging it interpolates pixels rather than redrawing the shape. Re-export at 2x to 4x your display size. This is the main practical reason to keep icons as SVG wherever the destination allows it.
When the destination will not accept SVG. That includes most email clients, most social platform upload fields, app store assets, presentation software with inconsistent SVG support, and platforms that block SVG for security reasons because it can contain script. For anything rendered in a browser, SVG is almost always the better choice.

Convert an icon to PNG now

Pick an icon, set the colour and size, export a transparent PNG from 1x to 8x. Runs in your browser.

Open the ICON OOP tool