FlipMyFormat

PNG to ICO Converter

Turn a PNG into a real Windows icon with every size from 16 to 256 pixels in one file. Transparency kept, ready for folders, programs and websites. Nothing uploaded.

Select image images

or drop them here · icons for Windows, websites and apps

Made in your browser. Your pictures are not uploaded.

People also use

PNG to ICO converter free, in three steps

Drop your PNG on the box above, choose the icon sizes and press Convert to ICO. In a few seconds you get a genuine .ico file that holds every size you picked, from a tiny 16 pixel tab icon up to a crisp 256 pixel desktop icon, all inside one file.

This is a PNG to ICO converter free for everyone: no account, no watermark, no daily cap and no paid upgrade hiding the useful options. The whole job runs inside your browser on your own computer or phone, so the logo or artwork you add never travels to a server.

PNG is the best starting point for an icon, because it already supports transparency. The clear areas around your logo stay clear in the icon, with soft edges intact, so the result sits naturally on any desktop, taskbar or browser tab.

  1. 1

    Add your PNG

    Drop a PNG on the box, choose it from your device or paste it with Ctrl+V. JPG, WebP, GIF and BMP pictures work too, and you can add up to 100 at once.

  2. 2

    Pick sizes and look

    Choose Favicon, Windows icon, All sizes or Custom, then set Fit to square, Background and Shape. The live preview shows the icon at 16, 32, 48 and 256 pixels.

  3. 3

    Convert and download

    Press Convert to ICO and save your .ico file. Several pictures arrive as one ZIP, with one icon for each picture.

The default settings (Windows icon sizes, transparent background, Modern format) already give a good icon for Windows and the web, so for most pictures you can simply add the file and press the button.

What an icon file is, and why PNG alone is not enough

A PNG file holds one picture at one size. An ICO file is a small container that can hold the same picture at many sizes, each stored separately, plus a directory that tells the system which sizes are inside. Windows, browsers and build tools read that directory and pick the size that fits each spot.

That is why programs that ask for an icon want .ico and not .png. Windows will not let you choose a PNG in the Change Icon window for folders and shortcuts, and compilers for Windows programs only embed .ico files into an .exe. Converting gives you the file those places expect.

Why renaming a .png file does not work

Changing logo.png to logo.ico in File Explorer does not make an icon. The data inside is still a PNG with no icon header and no directory, so the Change Icon window either refuses it or shows a blank page symbol, and resource compilers stop with an error about an invalid icon.

A real icon file starts with the ICO header, lists every size in its directory and then stores square images of exactly those sizes. This tool writes all three parts correctly, so the file opens in every version of Windows from Vista onwards, in every browser and in common icon editors.

A PNG to ICO converter online that keeps your files private

Many sites that convert icons upload your picture, process it on their server and send it back. Here the work is done by your browser itself. That means no waiting for an upload, no queue, no file size worries on a slow connection, and no copy of your artwork left on someone else's machine.

If you searched for a PNG to ICO converter online because you cannot install software on a work or school computer, this page needs nothing installed. It runs the same way on Windows, macOS, Linux, ChromeOS, Android and iPhone in any up-to-date browser, and once the page has loaded it keeps converting even if the connection drops.

PNG to ICO with multiple sizes in one file

Windows draws icons at many sizes: 16 pixels in title bars and the system tray, 24 or 32 on the taskbar, 48 on the desktop and up to 256 for extra large icons in File Explorer. When the size it needs is missing from the file, Windows scales another one up or down on the fly, and that is when icons turn blurry or jagged.

To avoid that, this tool makes PNG to ICO with multiple sizes packed in a single file. The sizes on offer are 16, 20, 24, 32, 40, 48, 64, 72, 96, 128 and 256 pixels. Pick a preset or click any size to switch it on or off; every size that is highlighted goes into the same .ico, and the hint under the buttons lists them so you know exactly what you will get.

The four presets under Icon sizes cover the usual jobs. Clicking a single size button switches you to Custom automatically.

PresetSizes in pixelsGood for
Favicon16, 32, 48Browser tabs, bookmarks and favicon.ico
Windows icon16, 24, 32, 48, 64, 128, 256Folders, shortcuts, desktop icons and programs (the default)
All sizes16, 20, 24, 32, 40, 48, 64, 72, 96, 128, 256Every display scale and programs that look for unusual sizes
CustomAny sizes you clickThe exact list a build tool or guide asks for

Which preset to choose

For a website only, Favicon is enough: 16, 32 and 48 pixels cover every desktop browser, and the file stays tiny. Tick the favicon pack as well if you want home screen icons for phones.

For anything on Windows, start with Windows icon. It contains the sizes File Explorer, the taskbar and the Start menu use, including 256 for large views. Choose All sizes when people will see the icon on many different screens, such as an app you share, and Custom when documentation lists precise sizes, for example 16, 32, 48 and 256 only.

Which icon sizes Windows uses where

Where Windows shows each size at the normal 100% display scale. At 125%, 150% or 200% Windows looks for a larger size, so several sizes in one file keep the icon sharp on every screen.

Where it appearsSize at 100%Note
Title bar, system tray, small icons view16 × 1620 or 24 at higher scaling
Taskbar buttons24 × 24 or 32 × 32Depends on scaling and taskbar size
Details and list views, Start menu32 × 3240 or 48 at higher scaling
Desktop and medium icons in File Explorer48 × 4864 or 72 at higher scaling
Large icons in File Explorer96 × 96Made from 128 or 256 when 96 is missing
Extra large icons, high resolution screens256 × 256The largest size an .ico file can hold

Display scaling and in-between sizes

Most laptops run Windows at 125% or 150% scaling. On such a screen a 16 pixel spot is really 20 or 24 pixels, and a 32 pixel spot is 40 or 48. If the icon file only has 16 and 32, Windows enlarges them and they look fuzzy. If the file also has 20, 24, 40 and 48, Windows uses those directly.

The All sizes preset adds exactly these in-between sizes. They make the file a little larger, usually by only a few kilobytes, and give Windows a close match for every common scale, from an old office monitor to a 4K screen.

PNG to ICO 256x256 and the largest icon size

The 256 × 256 size is what Windows shows when you set File Explorer to Large or Extra large icons, and it is also the size high resolution screens reach for on the desktop. Without it, Windows stretches a 48 or 64 pixel version to fill the space and the icon looks soft exactly where it is shown biggest.

A PNG to ICO 256x256 icon fixes that. The Windows icon and All sizes presets both include 256, and in Custom it is one click. Electron and many installer tools also refuse icons that do not contain 256 × 256, so including it saves you a build error later.

256 × 256 is also the ceiling of the format. An .ico file has no way to store a larger image, so there is no point looking for 512 inside an icon. If your PNG is bigger than 256 pixels, that is ideal: the tool scales it down cleanly. If it is smaller, the 256 size can still be made, but it will be as soft as the original because no converter can invent missing detail.

PNG to ICO high quality: clean at 16 and 32 pixels

Shrinking a large picture straight down to 16 pixels in one jump throws away detail unevenly and leaves the icon muddy. This tool reduces the picture in halving steps with smooth filtering until it is close to the target size, and only then makes the final step. Thin outlines and small shapes survive much better that way.

Every size is made from your original PNG, not from the size before it. The 256 pixel image keeps all the detail your file had, and the 16 pixel image gets the cleanest possible start. For PNG to ICO high quality results, give the tool the biggest, cleanest version of the artwork you have, ideally 512 pixels or more on each side.

Simple artwork wins at small sizes. A bold symbol, a single letter or a clear silhouette reads well at 16 and 32 pixels, while a full logo with a company name turns into a grey smudge. If your logo has a mark and a wordmark, use just the mark for the icon.

PNG to ICO without losing quality

PNG is a lossless format, and so is the Modern icon format: each size is saved as a PNG image inside the .ico. Nothing is compressed away, colours are not reduced and the alpha channel keeps all 256 levels of transparency. That is how you get PNG to ICO without losing quality: the only change is the size of each image.

Classic 32-bit BMP and the Windows / EXE option are lossless too; they store raw pixels instead of compressed PNG, so the file is larger but every pixel is identical. Only the 256 colours (8-bit) option reduces colours, because that is what the old 8-bit icon format requires. Use it only when a very old program needs it.

The other place quality can slip is scaling. Any picture shown at 16 pixels loses detail compared with 256 pixels; that is unavoidable. What the tool controls is how gently it scales, and the halving steps plus the optional sharpening keep that loss as small as possible.

Sharpening the small sizes

Under More options, Sharpen 16 to 48 px sizes applies a light unsharp mask to the small sizes after scaling. It brings back some of the crispness that shrinking takes away, so thin lines, small text and fine outlines stay readable in the taskbar, the system tray and browser tabs.

The sharpening only changes colour, never transparency, so edges of a transparent icon do not get a dark or bright ring. The 64 to 256 pixel sizes are left alone because they keep enough detail by themselves. Turn it on, watch the 16 and 32 pixel previews, and keep it if the icon looks clearer.

Getting the most from 16 pixels

A 16 × 16 icon has only 256 pixels in total. Professional icon designers often draw this size by hand for exactly that reason. A converter cannot redraw your artwork, but you can help it a lot by choosing a picture whose main shape is large and simple, cropping tightly and using strong contrast.

If you do have a hand-drawn 16 pixel version of your icon, add it together with the large version and tick Join all pictures into one icon. The tool then uses your pixel art for the small size and the big PNG for the large sizes, which is how many professional icons are built.

One icon from several pictures

Normally every picture you add becomes its own .ico file. With Join all pictures into one icon ticked, all the pictures go into a single icon instead, and each size uses the picture closest to it: the smallest picture that is at least as large as that size, or the largest one if none is big enough.

Add, for example, a 16 × 16 pixel-art PNG, a 32 × 32 one and a 1024 pixel logo. The icon then uses your 16 pixel art for 16, your 32 pixel art for 20, 24 and 32, and the large logo for 40 and up. The icon file is named after the first picture in the list.

Pixel art icons

Pixel art is the one kind of picture that should not be smoothed. If you scale a 16 × 16 drawing up to 256 pixels, smoothing turns its crisp squares into a blur. For pixel art, draw or export each size you care about at its real size and add them all with Join all pictures into one icon ticked, so every size uses your own pixels.

If you only have a small drawing, first enlarge it with hard edges in your drawing program to 256 pixels, then add that file as well. The large sizes will then show sharp blocks instead of a soft blur, while your original small drawing is used for the 16 pixel size.

See the icon at real size before you save

As soon as a picture is added, the preview next to the file list shows it at 16, 32, 48 and 256 pixels. Changes to fit, background, white removal, shape, padding and sharpening appear after a short moment, so you can compare settings without downloading anything.

The 16, 32 and 48 pixel previews are drawn at their real size with sharp pixels, which is the honest way to judge an icon. The 256 pixel preview is shown smaller to fit. The checkered pattern behind them marks transparent areas, so you can see at once whether the background is really clear.

PNG to ICO with transparent background

If your PNG already has a transparent background, there is nothing to do: leave Background set to Transparent and the clear areas, including soft and semi-transparent edges, are copied into every size of the icon. That is the main advantage of starting from PNG rather than JPG.

Many PNG logos are saved on a solid white square, though. To make PNG to ICO with transparent background from such a file, tick Make the white background transparent. Pixels close to white become clear, and pixels that are almost white fade out gradually, so the outline blends smoothly instead of keeping a hard white fringe.

The Tolerance slider sets how close to white a pixel must be to disappear. Raise it a little if a pale halo remains around the logo; lower it if light parts of the logo itself start to vanish. Keep in mind that the option removes white everywhere, not only around the edge, so white details inside a logo can turn clear too. For photos or busy backgrounds, cut the subject out first with Remove Background and convert the PNG it gives you.

Soft edges and partial transparency

A good transparent icon has soft, anti-aliased edges: the outermost pixels are partly see-through so the shape looks smooth on any background. The Modern, Windows / EXE and Classic 32-bit formats all keep that full alpha channel, so edges stay smooth at every size.

The 256 colours (8-bit) format cannot store partial transparency. Every pixel is either fully visible or fully clear, so edges can look slightly jagged. This is a limit of that old format, not of the converter, and it is why 8-bit should be your last choice.

Icons on light and dark themes

Windows 11 has a light and a dark mode, and browsers draw tabs in both. A transparent icon sits directly on that colour, so a black logo can almost disappear on a dark taskbar and a white one on a light tab.

Check your icon against both. If it is very dark or very light, give it a solid background or choose Rounded or Circle with a contrasting colour, which turns it into a small tile that stands out anywhere. Colourful icons with a clear outline usually look fine transparent on both themes.

Transparent, white or coloured background

Background fills any part of the square that your picture does not cover, and the area behind transparent parts of a PNG. Transparent leaves it clear, White fills it with white, and Colour opens a colour picker so you can use your brand colour. If you need the exact code of a colour from your logo, Color Picker reads it from the picture.

Choose a solid background when the icon must stand out on any wallpaper or theme, or when a program cannot show transparency. Stay with Transparent for Windows 11, modern browsers and macOS, where icons usually look cut out.

Fit, crop to fill or stretch to a square

Icons are always square, but many PNGs are not. Fit (whole picture) keeps the complete picture and centres it, leaving empty bands on the short sides in the background you chose. Crop to fill covers the whole square and cuts off the edges of the long side, which makes the subject bigger. Stretch squeezes the picture to the square and changes its proportions.

Fit is the safe choice for logos that must stay whole. Crop to fill suits photos and faces. Stretch is only useful for artwork that is almost square already. To decide exactly which part of a wide picture becomes the icon, crop it to a square first with Crop Image and then convert the result here.

Square, rounded or circle icons

Square fills the whole icon area, which is the classic look for Windows. Rounded adds soft corners like many modern app icons, and Circle makes a round badge that suits avatars, profile pictures and coin-style logos. With Rounded and Circle the corners outside the shape become transparent, whatever background you chose.

Combine a shape with a coloured background to turn a transparent logo into a neat tile. If you want a round picture as a PNG rather than an icon, Circle Crop makes one.

Padding around the picture

Padding, under More options, adds an empty margin of 0 to 30 percent around your picture inside the square. A little space helps, because Windows places icons close together and an image that touches every edge looks cramped.

About 5 to 10 percent suits most logos. Use more with the Circle shape so the corners of a square logo are not clipped by the round edge, and none for a photo that should fill the icon.

Four icon formats: PNG or BMP inside the file

Inside an .ico file each size can be stored as a PNG image or as a bitmap. The Icon format option under More options gives four choices. Modern (PNG inside) is the default: small files with full transparency, read by Windows Vista and later, every current browser and macOS.

Windows / EXE stores the 256 pixel size as PNG and every smaller size as 32-bit BMP. This is what Microsoft recommends for program icons, and it works in Visual Studio, Electron, PyInstaller and resource editors. Classic (32-bit BMP) stores every size as a bitmap with an alpha channel and the old AND mask, for programs, game mods and icon editors that do not read PNG icons. 256 colours (8-bit) is for very old software only.

ModernWindows / EXEClassic 32-bit256 colours
Stored asPNG for every sizePNG for 256, BMP below32-bit BMP with mask8-bit palette BMP with mask
File sizeSmallestMediumLargestSmall
TransparencyFull, soft edgesFull, soft edgesFull, soft edgesOn or off only
ColoursFull colourFull colourFull colour256 colours
Best forWebsites, folders, shortcutsEXE files and app buildsOld programs and mod toolsVery old programs

PNG to ICO for favicon: files and HTML tags

A favicon is the small icon in browser tabs, bookmarks, history and on phone search results. Browsers still request /favicon.ico from the root of every site, and an .ico with 16, 32 and 48 pixels covers all desktop browsers. For PNG to ICO for favicon use, choose the Favicon preset.

Phones and home screens want PNG icons too, so a complete set is more than one file. Tick Also make a full favicon pack (ZIP) under More options and the button changes to Make favicon pack. The ZIP contains favicon.ico, favicon-16x16.png, favicon-32x32.png, apple-touch-icon.png at 180 pixels, android-chrome-192x192.png, android-chrome-512x512.png, a site.webmanifest file, a how-to-use.html.txt file with the HTML tags, and the .ico file with the sizes you chose.

The apple touch icon always gets a solid square background (white, or your colour), because iPhones and iPads fill transparent areas with black. Upload the files to the root folder of your site and add these tags inside the head of your pages. After the pack is made, the Copy HTML tags button puts them on your clipboard.

<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
FileSize in pixelsUsed for
favicon.ico16, 32, 48Browser tabs and bookmarks in every browser
favicon-16x16.png16Tabs in browsers that prefer PNG
favicon-32x32.png32Tabs on high resolution screens
apple-touch-icon.png180iPhone and iPad home screen, solid background
android-chrome-192x192.png192Android home screen shortcut
android-chrome-512x512.png512Splash screen when the site is installed
site.webmanifest–Tells Android and Chrome which icons to use
how-to-use.html.txt–The HTML tags to paste into your pages
Your .ico fileThe sizes you choseWindows and anything else that needs an icon

The site.webmanifest file has empty name and short_name fields; fill in your site name before uploading so installed shortcuts are labelled properly. If your site lives in a subfolder rather than the root, adjust the paths in the tags and in the manifest.

Browsers cache favicons for a long time. After you replace one, open the site in a private window or clear the cache to see the new icon. At 16 pixels there is room for one letter or one bold shape, so a simplified version of your logo usually works better than the full one.

Do you still need favicon.ico?

Modern browsers can show a PNG favicon through a link tag, so why make an .ico at all? Because browsers, feed readers, chat apps and other tools still request /favicon.ico directly when a page has no tags, or when they only look at the site root. Without the file they log an error and show a blank or generic icon.

The safest setup is both: favicon.ico in the root for everything that asks for it, and PNG files with link tags for browsers and phones that prefer them. The favicon pack gives you exactly that pair, with matching artwork in every file.

PNG to ICO for Windows 11 folder icons

Custom icons make folders easier to find at a glance: a logo on each client folder, a symbol on project folders, a cover on game folders. For PNG to ICO for Windows 11, keep the default Windows icon preset; it contains 16, 24, 32, 48, 64, 128 and 256 pixels, which covers every view in File Explorer.

Before assigning the icon, move the .ico file to a permanent place, such as a folder called Icons inside Documents. Windows does not copy the icon into the folder; it remembers the path. If the .ico file is moved or deleted later, the folder goes back to the plain yellow icon.

  1. Right-click the folder in File Explorer and choose Properties.
  2. Open the Customize tab. (It is missing for some system folders and for folders in libraries.)
  3. Click Change Icon, then Browse.
  4. Select your .ico file, click Open, choose the icon and click OK.
  5. Click Apply, then OK.

To undo it later, open the same window and click Restore Defaults. The same steps are shown under the result after each conversion.

Change a shortcut icon in Windows 11

  1. Right-click the shortcut on the desktop or in a folder and choose Properties.
  2. On the Shortcut tab, click Change Icon.
  3. Click Browse, select your .ico file and click OK, then Apply.

Shortcuts are the easiest way to give a program, a script, a website link or a portable app a recognisable picture without touching the program itself. A shortcut to a website made with your browser can get its own icon the same way.

To change an app pinned to the taskbar, unpin it, change the icon of a desktop shortcut to that app with the steps above, then right-click the shortcut and pin it again. Desktop icons such as This PC and Recycle Bin are changed elsewhere: open Settings, Personalization, Themes, Desktop icon settings, select the icon, click Change Icon and browse to your file.

If Windows keeps showing the old picture, press F5 in File Explorer, sign out and back in, or restart Windows Explorer from Task Manager. Windows keeps a cache of icons and sometimes needs a nudge to refresh it.

Windows 10 and Windows 11 differences

Everything on this page works the same way on Windows 10. The Properties window, the Customize tab and the Change Icon button are identical, and the same icon file suits both systems. The main visible difference is the right-click menu: Windows 11 shows a shorter menu first, but Properties is in it, so you do not need Show more options for these steps.

Windows 11 draws icons with a little more space around them and uses rounded corners for windows, which is one reason a small amount of padding often looks better there. Rounded icons also blend in nicely with its design.

PNG to ICO for EXE files and app builds

Developers need an .ico file to give a Windows program its icon. The icon is stored as a resource inside the .exe, and Windows reads it from there for File Explorer, the taskbar, Alt+Tab and the Start menu. The usual build tools all accept one .ico with several sizes.

For PNG to ICO for EXE builds, choose the Windows icon preset (or All sizes) and set Icon format to Windows / EXE under More options. That stores 256 as PNG and smaller sizes as BMP, the layout Microsoft recommends and the one older resource compilers handle best. Modern also works with current tools if you prefer smaller files.

Build toolWhere the icon goes
Visual Studio, C or C++Add a resource line such as IDI_APPICON ICON "app.ico" to your .rc file. The first icon in the resources becomes the program icon.
Visual Studio, C# and .NETProject Properties, Application, Win32 resources, Icon, then pick the .ico. In the project file this is the ApplicationIcon setting.
Electron (electron-builder)Put icon.ico in the build folder or set win.icon to its path. The icon must contain 256 × 256.
Electron (Electron Forge)Set packagerConfig.icon to the icon path in your Forge config.
PyInstallerRun pyinstaller --icon=app.ico your_script.py (or -i app.ico).
Inno Setup installersSet SetupIconFile=app.ico in the [Setup] section for the installer's own icon.
; Visual Studio resource file (app.rc)
IDI_APPICON ICON "app.ico"

<!-- .NET project file (.csproj) -->
<ApplicationIcon>app.ico</ApplicationIcon>

// electron-builder (package.json, "build" section)
"win": { "icon": "build/icon.ico" }

# PyInstaller
pyinstaller --onefile --icon=app.ico main.py

After a rebuild, File Explorer may still show the old icon for the .exe because of the icon cache. Copy the file to a new folder or rename it to check that the new icon is really inside. On Windows 10 and 11 you can also run ie4uinit.exe -show from a command prompt to refresh the cache.

Changing the icon of an .exe you did not build is a different job: the icon is compiled into the program and needs a resource editor. In most cases it is simpler to make a shortcut to the program and change the shortcut icon instead.

Which sizes build tools and guides ask for

Guides and build tools rarely agree on one exact list, which can be confusing. For Windows programs, the sizes most often required are 16, 24, 32, 48 and 256 pixels; the Windows icon preset contains all of them plus 64 and 128. Electron's packaging tools check that 256 is present. Websites need 16, 32 and 48 in favicon.ico. Some older installer and resource tools also like 20, 40 and 96, which the All sizes preset covers.

When a guide gives a list you do not see in a preset, choose Custom and click exactly those sizes. Extra sizes almost never cause problems, while a missing size means Windows has to scale another one, so when in doubt, include more rather than fewer.

Icons for website shortcuts and installed web apps

Chrome and Edge can turn a web page into a desktop shortcut or an installed app, and they use the site's icons for it. With a complete favicon pack the shortcut gets a sharp picture; with only a 16 pixel favicon it looks pixelated on the desktop. If you made such a shortcut yourself and want a different picture, change it through the shortcut's Properties window with the steps above.

For your own website, the 192 and 512 pixel PNG files in the pack and the site.webmanifest file are what make installed shortcuts look clean on Android, ChromeOS and Windows.

Drives, games, mods and other uses

Icons are not only for programs. People use them for USB drives (through an autorun.inf file with an icon line), game folders and launcher entries, mod packs, network drives and portable apps. Any tool that asks for an .ico will accept the files made here.

Some older mod tools and game editors only read bitmap icons. If one shows your icon as blank or calls it invalid, convert again with Icon format set to Classic (32-bit BMP), and as a last resort 256 colours (8-bit).

Using the icons on Mac and Linux

macOS opens .ico files in Preview, and browsers on Mac read favicon.ico just like on Windows, so the favicon pack serves Mac visitors too. Mac folders and apps use a different icon format, but you can set a custom folder icon on a Mac by copying a picture, choosing Get Info on the folder, clicking the small icon at the top and pasting.

On Linux, desktop environments mostly use PNG files for app icons, while browsers, Wine programs and many cross-platform apps still read .ico. The PNG files in the favicon pack are handy there as well.

Worked examples

A favicon from a logo

Add the transparent PNG of your logo, choose Favicon, set Fit (whole picture) and about 5 percent padding. Tick the favicon pack under More options, press Make favicon pack, upload the files to your site root and paste the tags from Copy HTML tags.

An icon for a desktop app

Add a large square PNG of the app mark, choose Windows icon or All sizes and check that 256 is highlighted. Under More options set Icon format to Windows / EXE and tick Sharpen 16 to 48 px sizes, then point Visual Studio, Electron or PyInstaller at the file.

Folder icons for clients

Add every client logo at once, choose Windows icon, Rounded shape and a white background so dark and light logos all stay visible. Download the ZIP, unpack it into Documents\Icons and assign each icon to its folder.

A round profile icon

Add a portrait PNG, choose Crop to fill and Circle, and add 5 percent padding. The corners outside the circle become transparent, which looks right on any wallpaper.

Up to 100 icons at once

Add up to 100 pictures at once, each up to 50 MB. Every picture becomes its own .ico with the same settings: the same sizes, fit, background, shape, padding and format. With two or more icons, Download all (ZIP) saves them together, and each one can also be saved separately from the list.

This is useful for a set of folder icons, a toolbar's worth of app icons or the logos of several clients. Because the work happens on your device, a batch only takes as long as your computer needs; nothing has to be uploaded or downloaded file by file.

PNG, JPG, WebP, GIF and BMP pictures

This page is built for PNG, but JPG, WebP, GIF and BMP pictures work just as well, and AVIF works in browsers that can open it. Transparency in PNG and WebP files is kept. For a JPG logo on white, the white background option makes the background clear; JPG to ICO is the same tool with JPG in mind.

You can also paste a picture you copied, for example a screenshot or an image copied from a design program, by pressing Ctrl+V on the page. Pressing Ctrl+Enter starts the conversion once files are added. If your logo is an SVG, turn it into a large PNG first with SVG to PNG, and for a WebP file you can also use WebP to PNG before converting.

Which pictures make good icons

The clearest icons come from square or nearly square artwork with one strong subject, high contrast and few fine details: a logo mark, an initial, a simple symbol or a close-up face. Bright colours on a transparent or plain background stay readable even at 16 pixels.

Wide banners, group photos and logos with long text lose most of their meaning when squeezed into a tiny square. When in doubt, look at the 16 pixel preview. If you can still tell what it is, the icon works. If your source picture is huge, there is no need to shrink it first, but Resize Image can help when you also want a smaller PNG for other uses.

Design tips for icons that read well

Think of an icon as a road sign rather than a poster. It is seen for a fraction of a second, often at the size of a fingernail, so it must say one thing clearly. One shape, two or three colours and a strong outline do more than any amount of detail.

Leave a little room around the main shape, keep lines at least two or three pixels thick at the 32 pixel size, and avoid text unless it is a single letter. Gradients and soft shadows look lovely at 256 pixels but tend to turn into a muddy blur at 16, so a flat version of the artwork often makes the better icon.

If you are making several icons that belong together, such as folders for every project or tools in one app, use the same shape, padding and background for all of them. Add the pictures in one batch and every icon gets identical settings, which keeps the set looking consistent.

Testing your icon

Once you have assigned an icon to a folder, open File Explorer and switch the view between Small icons, Medium icons, Large icons and Extra large icons. Each view uses a different size from the file, so you can see at a glance that all of them look right and that none is stretched.

To test a favicon, upload the files and open the site in a private browser window, then add it to the bookmarks bar. On a phone, add the site to the home screen to check the apple touch icon or the Android icons. The list under the result also shows how many sizes each file has and how large it is.

Updating an icon later

Brands change and icons get refreshed. Because the tool remembers your settings in your browser, making an updated icon is quick: add the new picture and press the button, and you get the same sizes, shape and format as last time.

If you replace an .ico file with a new one of the same name and in the same place, folders and shortcuts that point to it pick up the new picture once Windows refreshes its icon cache. For a website, use the same file names so the existing tags keep working, and expect browsers to show the old favicon for a while.

Where to keep your icon files

Keep one master copy of your icon artwork as a large PNG, at least 512 or 1024 pixels square, next to the finished .ico files. If you later need a different shape, background or format, you can make a new icon in seconds instead of searching for the original or trying to rebuild it from the small sizes.

Store the .ico files you assign to folders and shortcuts in one place that you back up, for example Documents\Icons. When you move to a new computer, copy that folder to the same path and the custom icons keep working.

Honest limits

A detailed picture will be hard to read at 16 pixels whatever tool you use, and a small picture will look soft at 256 because detail cannot be invented. The white background option works on white and near-white only; it does not remove coloured or busy backgrounds.

An .ico file cannot hold anything larger than 256 × 256 pixels; that is a rule of the format. For larger icons on phones and installed web apps, the favicon pack adds 180, 192 and 512 pixel PNG files next to the .ico. Animated GIFs are converted from their first frame only, because icons are still images.

What is inside an ICO file

An ICO file starts with a six-byte header, followed by a directory with one 16-byte entry for every image: its width, height, colour depth, length and position in the file. After the directory come the images themselves, each either a complete PNG file or a bitmap with a transparency mask.

The width and height fields are a single byte each, which can count only to 255; the value 0 is used to mean 256. That is the technical reason 256 × 256 is the largest size an icon can hold. Windows reads the directory, picks the entry that fits each place best and draws it.

ICO and PNG compared

ICOPNG
Several sizes in one fileYesNo
TransparencyYesYes
Folder and shortcut icons on WindowsYesNo
Program icon inside an .exeYesNo
Website faviconYes, favicon.icoYes, with link tags
Largest size256 × 256No practical limit
Typical useIconsGraphics, logos, screenshots

Why ICO is still used

PNG and SVG are used for many icons on the web and on phones, yet ICO is still the only format Windows accepts for folders, shortcuts and program files, and favicon.ico is still the first file browsers ask for. Keeping both a PNG and an ICO version of your logo covers every case.

Because one .ico carries many sizes, you do not have to keep and name a separate file for each size. One file per icon is easier to share, store and assign.

What people use it for

Website favicons

Tab and bookmark icons, plus the PNG files phones need.

Folder icons

Logos and symbols on Windows 11 and Windows 10 folders.

Shortcuts

Custom icons for desktop and Start menu shortcuts.

Program icons

Icons built into .exe files with Visual Studio, Electron or PyInstaller.

Installers

The icon of a setup program.

Games and mods

Icons for game folders, launchers and mod tools.

USB drives

A drive icon through an autorun.inf file.

Client work

Each client's logo on their project folder.

Is it safe? Your pictures are not uploaded

Your pictures are not uploaded. Opening the PNG, scaling every size, removing white, writing the .ico and building the ZIP all happen in your browser, on your device. When you close the tab, nothing is left on any server because nothing was sent to one.

That matters for unreleased logos, client artwork and app icons under development. The page remembers only your settings, in your own browser, so the next visit starts with the same sizes and options.

Some privacy settings and browser extensions block pages from reading picture pixels. If that happens, the tool shows a warning, because icons could come out wrong. Allow canvas access for this site or use another browser.

How it works

Your browser decodes the picture and draws it onto a 1024 pixel square using your fit, padding, background and shape. If you asked for the white background to be removed, pixels near white are made clear first, with a soft edge set by the tolerance.

For each chosen size, that square is reduced in halving steps with smooth filtering, then optionally sharpened at 16 to 48 pixels. Each size is encoded as PNG or as a bitmap with a mask, depending on the icon format, and everything is written into one .ico file with a correct header and directory.

Common problems and fixes

Change Icon shows a blank icon

The file was probably a renamed PNG. Convert it here to get a real .ico file.

The icon is blurry in large views

Include 256 × 256 and start from a picture at least 256 pixels on each side.

The small icon is a smudge

Use only the symbol of the logo, choose Crop to fill and try Sharpen 16 to 48 px sizes.

A white box around the logo

Tick Make the white background transparent and adjust the tolerance.

White parts inside the logo vanished

Lower the tolerance, or leave white removal off and use a coloured background.

The logo disappears on a dark taskbar

Use a solid background or a Rounded or Circle shape in a contrasting colour.

The folder still shows the old icon

Press F5, sign out and in, or restart Windows Explorer; Windows caches icons.

The folder icon reset itself

The .ico file was moved or deleted. Keep icons in a permanent folder.

A build tool says the icon is invalid

Convert again with Icon format set to Windows / EXE, or Classic for older tools.

Electron asks for a 256 icon

Make sure 256 is highlighted under Icon sizes before you convert.

Tips for clear icons

Start from the largest, cleanest PNG you have, ideally 512 pixels or more.

Use Windows icon for folders, shortcuts and programs, and Favicon for websites.

Choose Windows / EXE as the icon format when the icon goes into a program.

Check the 16 pixel preview before you download.

Add 5 to 10 percent padding for logos so they do not touch the edges.

Test a transparent icon on both a light and a dark background.

Keep the .ico file in a permanent folder before assigning it.

Keep the original PNG so you can make the icon again with other settings.

A quick checklist before you use the icon

Is the subject recognisable in the 16 pixel preview?

Are 16, 32, 48 and 256 highlighted under Icon sizes for a Windows icon?

Does the checkered pattern show through where the background should be clear?

Is the icon format right for the job: Modern for folders and websites, Windows / EXE for programs?

For a website, did you upload every file from the favicon pack and paste the tags?

Icon words explained

ICO

The Windows icon format; one file can hold many sizes of the same picture.

Favicon

The small icon of a website, shown in tabs and bookmarks.

Alpha channel

The part of a PNG that stores how see-through each pixel is.

AND mask

A one-bit mask that old programs use to find the clear parts of a bitmap icon.

Resource

Data compiled into an .exe, such as its icon, version and text.

Tolerance

How close to white a pixel must be to become transparent.

Display scale

The Windows setting that enlarges everything on screen, such as 125% or 150%.

Web manifest

A small file that tells phones and browsers the name and icons of a site.

Frequently asked questions

Is this PNG to ICO converter free?

Yes. It is completely free, with no sign-up, no watermark and no daily limit. Every option on the page is available to everyone.

Is there a PNG to ICO converter online that does not upload my files?

This page is one. The conversion runs in your own browser, so your pictures never leave your device and nothing is stored on a server.

How do I convert PNG to ICO with multiple sizes?

Choose the Windows icon or All sizes preset, or click the sizes you want under Icon sizes. Every highlighted size, from 16 to 256 pixels, goes into the same .ico file.

Can I make a PNG to ICO 256x256 icon?

Yes. The Windows icon and All sizes presets include 256 × 256, and you can add it in Custom with one click. For a sharp result, start from a picture at least 256 pixels on each side.

What is the maximum size of an ICO file?

256 × 256 pixels per image. The format stores width and height in one byte, so it cannot hold larger images. For bigger icons, use PNG files next to the .ico.

Does PNG to ICO with transparent background work?

Yes. If your PNG is transparent, leave Background on Transparent and the clear areas and soft edges are kept in every size. If the logo sits on white, tick Make the white background transparent.

How do I get PNG to ICO high quality icons?

Start from a large, simple picture and keep the Modern format. The tool shrinks in halving steps, and Sharpen 16 to 48 px sizes under More options keeps small sizes crisp.

Can I convert PNG to ICO without losing quality?

Yes. With the Modern format each size is stored as a lossless PNG with full transparency. Only scaling to small sizes reduces detail, which no icon can avoid.

How do I use PNG to ICO for favicon files?

Choose the Favicon preset and tick Also make a full favicon pack (ZIP). Upload the files to your site's root folder and paste the HTML tags, which Copy HTML tags puts on your clipboard.

How do I use PNG to ICO for Windows 11 folder icons?

Make the icon with the Windows icon preset and keep it in a permanent folder. Then right-click the folder, choose Properties, open Customize, click Change Icon and Browse to the .ico file.

How do I change a shortcut icon in Windows 11?

Right-click the shortcut, choose Properties, open the Shortcut tab and click Change Icon. Click Browse, pick your .ico file, then click OK and Apply.

Which settings should I use for PNG to ICO for EXE files?

Choose the Windows icon or All sizes preset and set Icon format to Windows / EXE under More options. That stores 256 as PNG and smaller sizes as BMP, as Microsoft recommends for programs.

How do I add the icon in PyInstaller or Electron?

In PyInstaller, pass --icon=app.ico when you build. In electron-builder, place icon.ico in the build folder or set win.icon; in Electron Forge, set packagerConfig.icon. Electron needs the 256 size included.

How do I add the icon in Visual Studio?

For C or C++, add a line like IDI_APPICON ICON "app.ico" to your .rc file. For C# and .NET, open Project Properties, Application, Win32 resources, and choose the icon.

Why is my new icon not showing?

Windows caches icons. Press F5, sign out and in, or restart Windows Explorer from Task Manager. For a rebuilt program, rename or copy the .exe to check the new icon.

What is the difference between the icon formats?

Modern stores every size as PNG and makes the smallest files. Windows / EXE uses PNG for 256 and BMP below. Classic uses 32-bit BMP for old programs, and 256 colours is for very old software.

Can I put several pictures into one icon?

Yes. Tick Join all pictures into one icon under More options. Each size uses the picture closest to it, so hand-drawn small artwork is used for the small sizes.

How many PNG files can I convert at once?

Up to 100 pictures, each up to 50 MB. Each becomes its own .ico file, and several icons download together as one ZIP.

Can I make a round or rounded icon?

Yes. Choose Circle or Rounded under Shape. The corners outside the shape become transparent, and you can add a coloured background for a tile look.

Does it work on Mac, Linux and phones?

Yes. It works in any up-to-date browser on Windows, macOS, Linux, ChromeOS, Android and iPhone, with nothing to install.

Can I convert other image types?

Yes. JPG, WebP, GIF and BMP pictures work as well, and you can paste a copied image with Ctrl+V. Transparency in WebP files is kept too.

Make your icon now

Every size in one file, free and private.

Add your picture

Last updated October 2026 · Written and maintained by the FlipMyFormat team