How to Convert PNG, JPG, or BMP Images to ICO in Windows

To convert a PNG, JPG, or BMP image into a Windows icon, open it in GIMP and export it with the .ico extension. GIMP includes a Windows Icon export dialog where you can select several icon sizes and choose an alpha-capable pixel format. That gives Windows a choice of image sizes instead of asking it to enlarge or shrink one tiny bitmap.

Why an ICO file can contain several sizes

A Windows icon is commonly a set of square images stored in one .ico file. Microsoft lists 16 × 16, 32 × 32, 48 × 48, and 256 × 256 pixels as typical sizes. Windows can select the closest image for the place where the icon appears, which helps it stay clear in different views. A single-size file may look sharp at one scale and blurry at another. See Microsoft’s Windows icon guidance for the format and common sizes.

Before converting, simplify the artwork if it contains small text or fine details. Those details can disappear in a 16-pixel image; Microsoft recommends adjusting an icon’s detail for smaller sizes instead of relying on a simple reduction. A PNG can retain transparent edges. JPEG does not store transparency, and BMP files may be opaque, so use a PNG source when you need a transparent background.

Convert an image to ICO with GIMP

  1. Install GIMP and open the source image. Get the Windows installer from the official GIMP downloads page. Start GIMP, choose File > Open, and select the PNG, JPG, or BMP you want to convert. If you have not installed GIMP, use the official download rather than an unofficial installer.
GIMP’s File menu with Open highlighted over a sunflower image ready to import
Open the image file in GIMP before preparing it for the icon export.
  1. Make the artwork square when needed. Windows icons are square. If the image is not square, select the Crop tool and, in Tool Options, enable Fixed with an aspect ratio of 1:1. Drag the square around the subject and press Enter. Keep the subject centered and leave a little breathing room at the edges. If you need to preserve a wide image without cropping, place it on a square canvas instead; use transparency for a PNG or a solid background for an opaque image. GIMP’s Crop tool manual explains fixed aspect ratios.
A blue gear centered on a square checkerboard transparency canvas in GIMP
A centered square design leaves the main shape visible when the icon is displayed at a small size.
  1. Choose the ICO export format. Select File > Export As, enter a name such as custom.ico, and choose Export. GIMP uses Export for formats such as ICO; its native Save command is for GIMP project files. In the file dialog, confirm the type is Microsoft Windows icon (*.ico) if a format selector is shown.
GIMP’s Export Image dialog with custom.ico entered as the file name and Microsoft Windows icon selected
Use the .ico extension and verify that the export type is Microsoft Windows icon.
  1. Select icon sizes and transparency. In the Windows Icon export dialog, include 16 × 16, 32 × 32, 48 × 48, and 256 × 256 for a general Windows icon. Choose 32 bpp, 8-bit alpha if the image needs smooth transparency; GIMP’s manual identifies this as the common RGB-with-alpha format. For the widest compatibility, leave Compressed (PNG) off unless the software that will use the icon supports PNG-compressed ICO images. Click Export to finish.
GIMP’s Windows Icon export dialog with 16, 32, 48, and 256 pixel sizes checked and 32-bit alpha selected
Select the standard icon sizes and an alpha-capable format in the Windows Icon export dialog. See GIMP’s ICO export guide for format details.

Use the new icon in Windows

Keep the .ico file in a location that will not change. For a folder that offers the customization tab, right-click it, choose Properties > Customize > Change Icon > Browse, select the ICO file, and apply the change. A shortcut can also use a custom icon through its Properties dialog. These controls vary by Windows version and by the kind of item you are customizing.

There is a current Windows caveat for folder icons: Microsoft says security updates released on or after June 9, 2026 can cause Windows to ignore some custom folder icons supplied through desktop.ini when the file comes from an untrusted source or carries Mark of the Web. If a converted ICO works in an app but not for a downloaded folder, read Microsoft’s current custom-folder-icon notice. Only change trust settings or unblock files you know are safe.

If the icon does not look right

  • The image is clipped: return to GIMP and adjust the 1:1 crop so the subject has more space around it. For a photo, choose whether a centered crop or colored padding better suits the image.
  • The icon looks blurry at small sizes: simplify fine lines and text, increase contrast, and keep the most recognizable shape prominent. Check the design at 16 × 16 as well as 256 × 256.
  • Transparency became a solid block: start with a PNG that already has transparent pixels and choose the 32 bpp, 8-bit alpha format in the export dialog. A JPEG cannot carry a transparent background.
  • The file is not recognized as an icon: confirm the name ends in .ico and that GIMP exported it as Microsoft Windows Icon, not PNG with a renamed extension.

After those checks, export again and test the file in the Windows icon picker or the application that needs it. The useful result is one ICO file with the sizes and transparency your target supports.

Leave a Comment

How to Check Hard Drive Health in Windows Server

How to Check Hard Drive Health in Windows Server

Check Windows Server disk status and reliability counters, verify SMART data when available, and separate hardware warnings from NTFS errors.

How to Add and Delete Users in Windows Server

How to Add and Delete Users in Windows Server

Create, grant admin rights to, disable, or remove local Windows Server users with Computer Management or PowerShell. Learn when to use Active Directory instead.

Set Up the Serviio Media Server on Windows Server

Set Up the Serviio Media Server on Windows Server

Install Serviio on Windows Server, share local or NAS media folders, and test DLNA playback. Learn how to check the Windows service, firewall, and Pro-only browser features.

How to Convert PNG, JPG, or BMP Images to ICO in Windows

How to Convert PNG, JPG, or BMP Images to ICO in Windows

Convert PNG, JPG, or BMP files to Windows ICO with GIMP. Prepare a square image, keep transparency when needed, add standard sizes, and check the export.

How to Clear Cache in Windows 8: A Step-by-Step Guide

How to Clear Cache in Windows 8: A Step-by-Step Guide

Clear thumbnail, DNS, Internet Explorer, Microsoft Store, Search, and Live Tile data with Windows 8’s built-in tools, and learn what each cleanup removes.

How to Remove Item Check Boxes in Windows 10 File Explorer

How to Remove Item Check Boxes in Windows 10 File Explorer

Turn off Windows 10 item check boxes in File Explorer with the View ribbon, or use Folder Options if the toggle is missing. See what changes and how to select multiple files without boxes.

Set Up VMware Workstation Pro on Windows Server

Set Up VMware Workstation Pro on Windows Server

Install VMware Workstation Pro on a compatible Windows Server host, from checking support and downloading the right build to creating your first VM.

How to Read Linux Partitions on Windows Without Formatting Them

How to Read Linux Partitions on Windows Without Formatting Them

Browse and copy Ext2, Ext3, or Ext4 files on Windows with a read-only workflow. See what Linux Reader’s free edition supports and when WSL fits.

How to Run Caddy as a Web Server on Windows Server

How to Run Caddy as a Web Server on Windows Server

Install Caddy’s native Windows binary, serve a test site, enable automatic HTTPS for a domain, and run Caddy as a Windows Server service.

How to Run Linux Docker Containers on Windows Server with Hyper-V

How to Run Linux Docker Containers on Windows Server with Hyper-V

Run Linux Docker containers alongside Windows Server by creating an Ubuntu Hyper-V VM, installing Docker Engine, and publishing a test service safely.