What you need to create a desktop icon

A desktop icon is a small image file linked to a program, folder, or website shortcut on your computer screen. You do not need special software to create one — Windows and Mac both include built-in tools. The process involves either designing an image file yourself, finding an existing image online, or using a simple graphics program to resize and format an image into icon form.

The most common approach is to take an image you already have (a photo, logo, or downloaded graphic), resize it to icon dimensions, and save it in a format your operating system recognizes. Icon files typically use the .ico format on Windows or .icns on Mac, though you can also use .png or .jpg files as desktop icons on both systems.

Key Takeaways

  • Windows and Mac both let you change an existing shortcut's icon by right-clicking the shortcut, selecting properties or get info, and choosing a different image file.
  • Icon images should be square and at least 256 × 256 pixels to look sharp on modern screens, though smaller sizes like 64 × 64 work if you only need them at small scale.
  • Free online tools like Canva, Pixlr, or GIMP let you design or edit images and export them as .png files, which both Windows and Mac accept as desktop icons.
  • Converting an image to true .ico format on Windows requires a free converter tool, but using .png files directly is simpler and works just as well.
  • Once you have an image file ready, you change a shortcut's icon by opening its properties and pointing to your new image — no installation or restart needed.

Creating or editing an image for your icon

Start with an image that is square in shape. If you are using a photo or graphic you already have, open it in a free image editor. GIMP (available for Windows and Mac) is a full-featured option that handles resizing and cropping. Pixlr is a browser-based editor that requires no download. Canva offers templates and drag-and-drop design if you want to create something from scratch rather than edit an existing image.

Resize your image to at least 256 × 256 pixels if you want it to look crisp on modern screens. Smaller sizes like 64 × 64 pixels work if you only display the icon at small scale, but they will look blurry if you enlarge them later. Once you have the size and design you want, export or save the file as .png format — this works on both Windows and Mac and does not require conversion.

If your image has a white or solid-color background and you want transparency (so the desktop background shows through), use GIMP or Pixlr to remove the background before saving. Most icon design tools have a "remove background" or "make transparent" option in the export settings.

Converting an image to .ico format on Windows

Windows accepts .png, .jpg, and .bmp files as desktop icons without conversion, so you can skip this step if you are comfortable using those formats. However, if you want a true .ico file, you will need a free converter tool.

CloudConvert and Convertio are browser-based converters — upload your image, select .ico as the output format, and download the result. IcoFX is a standalone Windows program that lets you import an image and save it as .ico with options to set transparency and create multiple icon sizes in one file. For most users, uploading to CloudConvert takes less than a minute and produces a usable icon file.

Assigning your icon to a Windows shortcut

Right-click the shortcut on your desktop (not the program itself, but the shortcut you want to change). Select Properties from the menu. In the Properties window, click the Shortcut tab, then click the Change Icon button near the bottom.

A dialog box will open asking you to browse for an icon file. Click Browse, navigate to where you saved your image file (your Downloads folder, Desktop, or Documents), and select it. Click Open, then OK to apply the change. Your desktop icon will update immediately — no restart needed.

If the Change Icon button is grayed out, you are right-clicking the program file itself rather than a shortcut. Create a shortcut first: right-click the program, select Send to, then Desktop (create shortcut). Then follow the steps above on the shortcut.

Assigning your icon to a Mac shortcut

On Mac, right-click the shortcut and select Get Info. At the top of the window, you will see a small preview of the current icon. Click that preview image, then paste your new icon image into it (copy your image file first, then paste into the preview box). The icon updates instantly.

Alternatively, open your image file in Preview, select all, and copy it. Return to the Get Info window, click the icon preview at the top, and paste. This method works with .png, .jpg, and other common image formats — Mac does not require .icns format for desktop shortcuts.

If you want to create a shortcut first, open Finder, navigate to the program or folder you want to link to, right-click it, and select Make Alias. Move the alias to your desktop, then follow the Get Info steps above to change its icon.

Finding pre-made icons online

If you do not want to design or edit an image yourself, thousands of free icon sets are available online. Flaticon, Icons8, and Noun Project let you search for specific icons, download them as .png files, and use them directly as desktop icons. Iconmonstr and Feather Icons offer minimalist designs in multiple sizes.

When downloading, choose the largest available size (usually 256 × 256 or larger) to ensure the icon looks sharp. Most of these sites let you download without an account, though some require attribution if you use them commercially. For personal desktop use, attribution is not required.

Be cautious with icon packs that require installation — they often modify system files or add unwanted software. Downloading individual .png files and assigning them manually to shortcuts is safer and gives you more control.

Troubleshooting icon changes that do not appear

If you assign a new icon and it does not show up, try refreshing your desktop. On Windows, press F5 or right-click the desktop and select Refresh. On Mac, press Command + Option + Esc to force-quit Finder, then reopen it.

If the icon still does not change, check that your image file is in a supported format (.png, .jpg, .bmp, or .ico on Windows; .png, .jpg, or .icns on Mac). Verify that the file path you selected in Properties or Get Info is correct and that the file has not been moved or deleted. If you moved the image file after assigning it, the shortcut will lose the link — move it back or reassign the icon using the new location.

On Windows, if the icon appears as a blank square or generic document icon, the file format may not be recognized. Try converting the image to .png format using CloudConvert or another converter, then reassign it.

Frequently Asked Questions

Can I use any image as a desktop icon?

Yes, as long as it is in a format your operating system recognizes. Windows and Mac both accept .png, .jpg, and .bmp files. Square images work best because they fill the icon space evenly, but rectangular images will be stretched or shrunk to fit. Resize your image to at least 256 × 256 pixels before assigning it so it does not look blurry.

Do I need to convert my image to .ico format?

No. Both Windows and Mac accept .png files directly as desktop icons without conversion. Converting to .ico is optional on Windows and only necessary if you want a single file that contains multiple icon sizes or if a specific program requires it. For most users, saving as .png is simpler and works just as well.

What happens if I delete the image file after assigning it as an icon?

The shortcut will show a blank or generic icon because it can no longer find the image file. Keep your icon image files in a permanent location like a folder in Documents or a dedicated Icons folder. If you delete the file by accident, move it back to the same location and the icon will reappear.

Can I change the icon of a program itself, not just a shortcut?

On Windows, you can change the icon of a shortcut but not the program file itself without modifying system files, which is not recommended. Create a shortcut to the program instead and change the shortcut's icon. On Mac, the same applies — change the alias icon, not the original program.

Why does my icon look pixelated or blurry?

Your image is too small. Icons should be at least 256 × 256 pixels to look sharp on modern screens. If you are using a smaller image, resize it in an image editor before assigning it. Enlarging a small image in the editor will not improve quality — start with a larger original image or use a vector-based design tool like Inkscape that can scale without losing sharpness.