ICO to PNG

Turn every image of an ICO or CUR file into a PNG, in your browser, with nothing uploaded.

Your icons are turned into PNG files in your browser. They are not uploaded.

Icon files (.ico) and Windows cursor files (.cur). One file or many at once. Drop them here, or paste copied files with Ctrl+V (⌘V on a Mac).

Pixels that invert what lies under them

Old cursors and a few old icons hold pixels that show the opposite of whatever is behind them: a text cursor made this way is black over white and white over black. A PNG cannot do that, so choose how such pixels are drawn.

These choices are remembered on this device and nowhere else. Your icons never are.

These choices are remembered on this device and nowhere else. Your icons never are.

Good to know

An icon file (.ico) is not one picture but several: the same icon in a few sizes, such as 16, 32, 48 and 256 pixels, and in old icons the same size again with 16 colors, 256 colors and full color. A program that opens the file shows one of them. This page shows every image the file holds and gives each as a PNG of its own.

An image that lies in the icon as a PNG is handed out as it is, not a byte changed. An image that lies there as a bitmap is read number by number and written as a PNG that holds every pixel exactly, the see-through ones and the half see-through ones too. The page unpacks each PNG it wrote and compares it with the image, and it asks your browser to read the image as well and compares the two readings.

A PNG is as large in pixels as the image it comes from: a 16 × 16 image stays 16 × 16, and enlarging it makes it blurry or blocky, not sharper. For a larger picture take the largest image the icon holds. The file comes out small: each PNG is stored in the smallest kind that holds it, with a table of colors where the image has no more than 256.

A cursor file (.cur) is built like an icon file and has one thing more: a hot spot for each image, the pixel that does the pointing. A PNG has no place for it, so the page tells you where it is, writes the line of CSS that carries it, and puts the hot spots as a text file into the ZIP of a cursor file.

Up to 100 files at once, and up to 256 images of one file. There is no limit on the size of a file. Animated cursors (.ani), Apple icon files (.icns) and icons inside programs (.exe, .dll) are other kinds of file and are not read here.

Rate this tool

How useful was this tool?

ICO to PNG

Convert ICO to PNG here and you get every image the icon file holds, each as a PNG of its own, not just one. Choose your files with Choose icon files to turn into PNG, drop them on that box, or copy them and paste them on the page. As the page says: “Icon files (.ico) and Windows cursor files (.cur). One file or many at once. Drop them here, or paste copied files with Ctrl+V (⌘V on a Mac).”

There is no convert button. While it works the page says Reading the icons…, and then each file has a card with one row for each image in it. Click Save the PNG beside the size you want, or Save the largest as a PNG at the top of the card. The page then says Saved. under the buttons.

Everything happens in your browser: “Your icons are turned into PNG files in your browser. They are not uploaded.” After the first files the box reads Choose other icon files, and new files take the place of those on the page. To keep them and add more, tick Add to the files on the page instead of taking their place under the box. Clear the page empties it.

Why one ICO file gives several PNG files

An icon file holds the same icon several times, in different sizes, so that a program can show the size that fits. The page explains it under Good to know:

An icon file (.ico) is not one picture but several: the same icon in a few sizes, such as 16, 32, 48 and 256 pixels, and in old icons the same size again with 16 colors, 256 colors and full color. A program that opens the file shows one of them. This page shows every image the file holds and gives each as a PNG of its own.

A browser that opens an icon file also shows only one of its images, so a converter that lets the browser draw the icon gives you one PNG. This page reads the file itself: nine sizes give nine PNG files.

What the card of a file shows

Each file gets a card with its name and a line such as “Icon file with 6 images, 73.2 KB”, or for a cursor “Cursor file with 5 images, 73.6 KB”. A file with more than one image has two buttons at the top:

  • Save the largest as a PNG saves the largest image under the file's own name: vlc.png for vlc.ico.
  • Save all 6 as one ZIP saves every image of the file in one ZIP, here vlc-png.zip.

The number in the second button counts the images that could be made. An icon file that lists four images, one of them missing from the file, offers Save all 3 as one ZIP.

One row for each image, the largest first

The images are listed largest first. Of two images the same size, the one with more colors comes first. VLC's icon file, for example, lists its two 256-color images first; the page shows them after the full-color images of the same size, with the 256 × 256 image on top.

Each row shows the image on little squares, so its see-through parts are easy to see. Small images are shown at their own size: a 16 px image is 16 px there. Next to it, in this order:

  • the size, such as 256 × 256 pixels, with the tag the largest on the first row;
  • how the image is stored: stored in the file as a PNG, with half see-through pixels, or stored as a bitmap of 32 bits a pixel, with half see-through pixels, or stored as a bitmap of 256 colors (also 16 colors, 2 colors, 16 bits and 24 bits a pixel);
  • for a cursor, the hot spot;
  • the PNG you get, such as “The PNG: 54.4 KB, the one that lies in the file.” or “The PNG: 2,976 bytes.”;
  • notes, where there is something to say;
  • Save the PNG, with the file name in brackets, Copy the picture and Look at it larger;
  • a check line, and for a cursor image the line of CSS.

How the PNG files are named

Each name says which image of the icon the PNG is:

  • a file with one image gives name.png;
  • a file with several images puts the size in each name, such as app-48x48.png;
  • where a size comes more than once, the colors are added too: depths-32x32-32-bit.png, depths-32x32-256-colors.png, depths-32x32-16-colors.png;
  • two files of the same name on the page get app-… and app (2)-…, also when the second one is added later.

Transparent background kept exactly

The see-through background comes out exactly as the icon has it, soft edges and shadows included.

An image stored as a PNG (the 256 px image of nearly every modern icon) is handed out as it lies in the icon file: the PNG you save is a piece of the icon file, byte for byte. Its row says “This PNG is handed out as it lies in the file, not a byte changed.”

An image stored as a bitmap is read number by number: colors from a table of 2, 16 or 256, or 16, 24 or 32 bits a pixel, and the mask of one bit a pixel that says which pixels are see-through. The PNG holds every pixel exactly, the half see-through ones too, because a PNG keeps a color and how solid it is apart. For both kinds the row says whether the image has half see-through pixels.

That matters at the soft edges. A program that draws the icon on a browser canvas gets each half see-through pixel's color multiplied by how solid it is and cannot get it back, so edge and shadow pixels come out with other colors. Reading the file number by number avoids that.

The page checks every bitmap image twice, and its row then says “Checked: unpacked again, the PNG gives back every pixel of the image. Your browser reads the same pixels from this image.” The second check hands the image to your browser as an icon file of its own and compares what the browser reads with the page's own reading. In Chrome 158 that line stood on every bitmap image of every test file. In Firefox 158 two rare kinds differ:

  • a 16-bit bitmap, where Firefox turns five bits into eight another way: “Your browser reads 170 pixels of this image otherwise, by up to 1 of 255.”
  • a 32-bit bitmap with the places of its colors written out, which Firefox does not read at all. Only the first check stands there.

Copy the picture, or save the exact PNG

Copy the picture puts the image on the clipboard, to paste it into a document or a chat. The saved PNG is the exact file; the copy may not be. A browser writes the picture anew for the clipboard and multiplies each color by how solid the pixel is. In Chrome 158 a 32 × 32 icon with soft edges, read back from the clipboard, had 234 of its 1,024 pixels changed, by up to 114 of 255. Solid and fully see-through pixels came back as they were.

So for an image with half see-through pixels the page says “Copied. Your browser writes a picture anew for the clipboard, and the colors of half see-through pixels can shift on the way. The PNG you save is the exact one.” For an image without them it says Copied. The button is shown only where the browser can put a picture on the clipboard; Chrome 158 and Firefox 158 can.

Why the PNG files are small

Each PNG is stored in the smallest kind that holds it: a table of colors where the image has no more than 256, gray where the image is gray, with or without a see-through channel. VLC's 48 px image gives a PNG of 2,976 bytes, its 16 px image of 256 colors one of 389 bytes. An icon file of 270.4 KB holding one 256 × 256 bitmap gives a PNG of 43.8 KB.

Getting the largest size out of an ICO file

The largest PNG you can get is the largest image the icon holds. Click Save the largest as a PNG. In most modern icons that is 256 × 256 pixels. Icons can also hold PNG images of 512 and 1,024 pixels, and the page takes those out like any other: a test icon with both gave “The PNG: 696.2 KB, the one that lies in the file.” for its 1,024 × 1,024 image.

The page does not enlarge. As it says: “A PNG is as large in pixels as the image it comes from: a 16 × 16 image stays 16 × 16, and enlarging it makes it blurry or blocky, not sharper.” If the largest image of your icon is 48 × 48, that is the largest PNG the file can give.

Looking at an image larger

Look at it larger, or a click on the small picture, opens the PNG enlarged in whole steps, each pixel a clean square. Two choices change the view:

  • Shown: As large as fits, in whole steps (the start), At its own size, At twice its size, At four times its size, At eight times its size, At sixteen times its size. The start takes the largest of these steps that keeps the picture within 512 pixels and within the width of its box.
  • Shown on: Little squares, White or Black, to see how the icon looks on a light and on a dark page.

Close the larger look closes it. This only shows the PNG: the file you save stays at its own size. These choices are kept, like those for adding files, for the ZIP and for inverting pixels: “These choices are remembered on this device and nowhere else. Your icons never are.”

Converting several ICO files at once

You can choose up to 100 files at once. With more than one file, a bar counts them, for example “Files: 15. Images in them: 31.”, and a second line counts the files left out because they were not icon files. Under What the ZIP holds you choose:

  • Every image of every file (the start): each PNG under its own name.
  • The largest image of each file: one PNG for each file, named after the file, such as vlc.png.
  • The best image of each size: for each size, the image with the most colors. A PNG or a 32-bit image comes before 24 bits, 16 bits, 256 colors, 16 colors and 2 colors. For VLC's icon the ZIP then holds four PNG files instead of six: vlc-256x256.png, vlc-48x48.png, vlc-32x32.png and vlc-16x16.png.

The line under it says how many files that makes, such as “The ZIP will hold 31 PNG files.” Then Save them as one ZIP saves ico-to-png.zip. The PNG files go into the ZIP as they are, not packed again: a PNG is packed already.

Adding files from more than one folder

Tick Add to the files on the page instead of taking their place to gather icons in several goes. The box then reads Add more icon files, and files you choose, drop or paste join the cards already there. In a test, app.ico, then one-32.ico with a PNG named .ico, then app.ico once more gave three cards, “Files: 3. Images in them: 9.” and “Files left out: 1.”

The limit of 100 is for the page as a whole. With 100 files on it, two more chosen give “You chose 2 files. The page holds 100 at most, so the first 0 were added.” Clear the page makes room.

CUR to PNG: Windows cursor files

Windows cursor files (.cur) are read like icon files, and every image becomes a PNG. The page explains what is different:

A cursor file (.cur) is built like an icon file and has one thing more: a hot spot for each image, the pixel that does the pointing. A PNG has no place for it, so the page tells you where it is, writes the line of CSS that carries it, and puts the hot spots as a text file into the ZIP of a cursor file.

So each image of a cursor has a line such as “Hot spot (the pixel that points): 6 across, 10 down from the top left corner.” To see that pixel, open Look at it larger: a red ring, outlined so that it shows on any picture and ground, sits on the hot spot at every step of Shown, and the page says “The red ring marks the hot spot: the one pixel that does the pointing.” The ring is only in the view; the PNG is not touched.

The page was tested with real cursor files in the Windows format, of five images each, at 96, 64, 48, 32 and 24 pixels. Animated cursors (.ani) are another kind of file and are not read.

A cursor PNG on a web page: the line of CSS

Under each cursor image of up to 128 × 128 pixels, the page writes the line of CSS that makes it a web page's pointer, with the hot spot in it, and offers Copy the CSS for a web page. For the 48 px image of a test cursor the line is cursor: url(pointer-48x48.png) 6 10, auto;. The page adds:

This line makes the image the pointer of a web page. Put the PNG beside the page. The two numbers are the hot spot, so that the page points with the right pixel.

After the click the page says Copied. The name in the line is the PNG's file name, written the way an address needs it, so a space becomes %20. Chrome 158 and Firefox 158 both accept the line as valid CSS.

A larger image gets no line, and the page says why: “No line of CSS for this one: by their own documentation, browsers do not take a cursor picture of more than 128 × 128 pixels.” For a web page, take a cursor image of 128 pixels or less.

Save all 2 as one ZIP of a cursor file also holds the hot spots as a text file, such as pointer-hot-spots.txt. It begins Hot spots of pointer.cur: the pixel of each image that points, counted from the top left corner. and has a line for each image, such as pointer-48x48.png: 6 across, 10 down, with its CSS line under it. The ZIP of all files holds the PNG files only.

Pixels that invert what lies under them

A PNG cannot show pixels that invert what lies under them. Only when a file has such pixels, the page shows a card Pixels that invert what lies under them:

Old cursors and a few old icons hold pixels that show the opposite of whatever is behind them: a text cursor made this way is black over white and white over black. A PNG cannot do that, so choose how such pixels are drawn.

Draw them offers:

  • As they look over a white page in cursor files, see-through in icon files (the start). A text cursor then stays visible, in black, and an icon looks as a browser shows it.
  • See-through, as browsers show them. An old text cursor made only of such pixels then has nothing left to see, and the page says “Drawn see-through, nothing of this image is left to see. Choose another way to draw such pixels above.”
  • As they look over a white page: a text cursor's pixels are black.
  • As they look over a black page: the same cursor's pixels are white.

The row counts them. For an old text cursor: “36 pixels of this image invert what lies under them, which a PNG cannot do. In the PNG they are drawn as they look over a white page.” An icon file can hold such pixels too, when the program that made it left colors under its mask: “822 pixels of this image invert what lies under them, which a PNG cannot do. They are see-through in the PNG, as browsers show them.” When you change the choice, only the images with such pixels are made again.

favicon.ico files that are really PNG files

Many files named favicon.ico are PNG pictures under another name. The page goes by the file's first bytes, not its name, and says so: “This file is a PNG already, whatever its name says. Many files named favicon.ico are.” Click Save it as a .png: “The same file under the ending .png, with nothing in it changed.” The page then says Saved as a .png.

To convert a site's favicon, save the favicon.ico to your device first. A drop that brings the file is taken. A drop that brings only the address of a picture gets “That was the address of a picture, not the picture itself. Save the file to your device and choose it.”

It also works the other way: an icon file named .png is read as the icon file it is. The file chooser lists .ico and .cur files only, so drop such a file on the box.

Files that are not icon files, under their right ending

A file of another kind under the name .ico is named for what it is, and offered as the same file under the ending its kind has. A JPG named jpg-named.ico, for example, gets:

This file is a JPG picture, not an icon file. JPG to PNG turns those into PNG.

with Save it as a .jpg (jpg-named.jpg) and “The same file under the ending .jpg, with nothing in it changed.” After the click the page says Saved as a .jpg. A WebP saved this way came back byte for byte the file.

The endings the page offers are .png, .jpg, .gif, .bmp, .webp, .svg, .tiff, .pdf, .icns and .ani. For a WebP the page names WebP to PNG, for an SVG SVG to PNG. A GIF, BMP, TIFF or PDF gets a line such as “This file is a TIFF picture, not an icon file.” Two kinds get no offer: a program, “This file is a program (.exe or .dll), not an icon file.”, and a HEIC or AVIF picture, since the page tells that it is one of the two, not which. An animated cursor and an Apple icon file are named too, “This file is an animated cursor (.ani), not an icon file.” and “This file is an Apple icon file (.icns), not an icon file.”, but their images are not read here.

A file that is no picture at all gets “This file is not an icon file: it does not begin the way an .ico or a .cur file does.”

Files cut short and other odd icons

A file cut short, by a download that broke off for example, still gives what it holds. The whole images are made. Of an image the file ends inside, the rows that are there: “The file ends before this image does. Its top 38 rows of pixels, 79% of it, are missing and are see-through in the PNG.” Such an image is not called the largest while a whole one is there. An image that is missing altogether gets “The file's list puts this image behind the end of the file. It is not there, perhaps because a download broke off.”

Other notes you may meet:

  • “The file's list gives this image as 16 × 16. The image itself is 32 × 32, and that is what the PNG is.” The page goes by the image, not by the list.
  • “This image has room for a see-through number in each pixel, but all of them are 0. So its mask decides which pixels are see-through, as Windows has it.” Windows and the browsers show such an image this way; some image programs give an empty picture for it.
  • “This image's bitmap is packed in a way an icon file is not meant to hold (run lengths). The page does not read it.”

Images that are not square, and of any width, are read too: 48 × 32, 20 × 30, 17 × 9 and 13 × 21 in the tests.

Example

VLC's icon file, vlc.ico, 73,164 bytes. The card says “Icon file with 6 images, 73.2 KB” and lists:

Image Stored in the file The PNG File name
256 × 256, the largest as a PNG, with half see-through pixels 54.4 KB, the one that lies in the file vlc-256x256.png
48 × 48 bitmap of 32 bits a pixel, with half see-through pixels 2,976 bytes vlc-48x48.png
32 × 32 bitmap of 32 bits a pixel, with half see-through pixels 1,537 bytes vlc-32x32-32-bit.png
32 × 32 bitmap of 256 colors 889 bytes vlc-32x32-256-colors.png
16 × 16 bitmap of 32 bits a pixel, with half see-through pixels 674 bytes vlc-16x16-32-bit.png
16 × 16 bitmap of 256 colors 389 bytes vlc-16x16-256-colors.png

The 256 px row says “This PNG is handed out as it lies in the file, not a byte changed.” Each of the five bitmap rows says “Checked: unpacked again, the PNG gives back every pixel of the image. Your browser reads the same pixels from this image.” On the card, Save the largest as a PNG gives vlc.png, the 256 × 256 image, and Save all 6 as one ZIP gives vlc-png.zip.

A test cursor, pointer.cur: “Cursor file with 2 images, 13.9 KB”.

Image Hot spot The PNG Line of CSS
48 × 48, the largest 6 across, 10 down 2,809 bytes cursor: url(pointer-48x48.png) 6 10, auto;
32 × 32 4 across, 7 down 1,427 bytes cursor: url(pointer-32x32.png) 4 7, auto;

Its ZIP, pointer-png.zip, holds the two PNG files and pointer-hot-spots.txt.

How long it takes

Measured on the live page, from choosing the files until every PNG is there, on a desktop computer with an AMD Ryzen 9 3950X:

Files Images Chrome 158 Firefox 158
One icon with one 32 px image 1 0.01 s 0.02 s
VLC's icon 6 0.05 s 0.06 s
A favicon with nine sizes, 16 to 256 px 9 0.09 s 0.09 s
One 256 × 256 bitmap image (270 KB) 1 0.07 s 0.06 s
An icon with PNG images of 512 and 1,024 px (903 KB) 2 0.05 s 0.07 s
Five real icon files together 23 0.21 s 0.20 s
100 icon files 100 1.74 s 1.26 s
One file with 256 images 256 1.68 s 2.09 s

Limits

  • Up to 100 files on the page. Choose more and the page says “You chose 101 files. The first 100 were taken.” Save those, then choose the rest: without the tick box, they take the place of the first ones.
  • Up to 256 images of one file. A file that lists more gets “The file lists 300 images. The first 256 were read.”
  • No limit on a file's size. A bitmap image of over about 4 megapixels and a PNG image of over 100 megapixels are not read: “This image is larger than the page reads: 3,000 × 3,000 pixels.” An icon's bitmap is 256 pixels a side at most, so only a file made to cause trouble meets this.
  • No enlarging: for a larger picture, use the Image Upscaler or the Image Resizer on the largest PNG.
  • Other kinds of file: “Animated cursors (.ani), Apple icon files (.icns) and icons inside programs (.exe, .dll) are other kinds of file and are not read here.”

Which tool for which job

  • Make an icon file from a PNG: PNG to ICO, the other way round.
  • A JPG of an icon: ICO to JPG. A JPG has no see-through pixels, so keep PNG where the background must stay clear.
  • A WebP of an icon: ICO to WebP.
  • A PNG at a set size in pixels: Image Resizer, after you have saved the PNG here.
  • A larger picture than the icon holds: Image Upscaler, starting from the largest PNG.

FAQ

How do I convert ICO to PNG?

Choose or drop the .ico file on the page. Every image in it appears with a Save the PNG button, and Save the largest as a PNG gives the largest. Nothing is uploaded: it all happens in your browser.

How do I convert ICO to PNG without losing transparency?

You don't have to do anything: see-through and half see-through pixels come out exactly as the icon has them. Images stored as PNG in the icon are handed out byte for byte, and bitmaps are written to a PNG that keeps every pixel's color and solidness, checked on each image.

Why does my ICO file give several PNG files?

Because an icon file holds the same icon in several sizes, such as 16, 32, 48 and 256 pixels, and old icons also hold the same size in 16 colors, 256 colors and full color. The page gives each as a PNG of its own, the largest first.

How do I get the largest, high-resolution PNG out of an ICO file?

Click Save the largest as a PNG on the file's card. It saves the largest image the icon holds, 256 × 256 pixels in most modern icons, and PNG images of 512 or 1,024 pixels where the icon has them. The page does not enlarge an image beyond its own size.

How do I convert favicon.ico to PNG?

Save the favicon.ico to your device and choose it on the page. If the file is really a PNG under the name .ico, as many favicons are, the page says so and offers Save it as a .png, the same file under the ending .png. A JPG or GIF under that name is offered the same way under its own ending.

Can I convert a .cur cursor file to PNG?

Yes. Windows cursor files (.cur) are read like icon files, each image to a PNG, and the page tells you each image's hot spot and rings it in the larger view. For images up to 128 × 128 pixels it also writes the line of CSS that makes the PNG a web page's pointer, and the ZIP of the file holds the hot spots as a text file.

Can I convert several ICO files at once?

Yes, up to 100 files on the page. Save them as one ZIP saves every image of every file, the largest image of each file, or the best image of each size, as you choose under What the ZIP holds. Tick Add to the files on the page instead of taking their place to gather files from more than one folder.

Can I make the PNG bigger than the icon?

Not here. A PNG is as large in pixels as the image it comes from, and enlarging makes it blurry or blocky, not sharper. Take the largest image the icon holds, or enlarge it afterwards with the Image Upscaler or the Image Resizer.

Are my icons uploaded?

No. The icons are read and the PNG files written in your browser, and no file leaves your device. The page remembers only your choices, on your device.

Note: All processing is done client-side. We do not store or see your data.

Related Tools

Contact

Missing something?

Feel free to request missing tools or give some feedback using our contact form.

Contact Us