Advertisement
Turn a PNG image into an ICO file to use as your website’s favicon or as a Windows icon. The ICO contains several sizes, from 16 to 256 pixels, so the icon looks sharp everywhere, and it keeps the PNG’s transparency. Free, with no sign-up and no watermarks.
How to convert PNG to ICO
- Select your PNG image. Ideally it should be square, with a transparent background and at least 256 × 256 pixels.
- Click “Convert to ICO”.
- Download the ICO file. If you converted several images, you will get a ZIP with one icon per image.
Advertisement
What an ICO file is
ICO is the Windows icon format and the classic format of the favicon, the little icon shown in browser tabs, bookmarks and search results. What makes it special is that a single file stores several sizes of the same image, and each program uses the one it needs.
Our ICO includes these sizes, as long as your image is at least that big (we never enlarge the image, so it does not turn blurry):
| Size | Where it is used |
|---|---|
| 16 × 16 and 24 × 24 | Browser tabs, address bar |
| 32 × 32 | Windows taskbar, shortcuts |
| 48 × 48 | Windows desktop; Google recommends favicons of this size or larger |
| 64 × 64 and 128 × 128 | Medium and large icons in Windows File Explorer |
| 256 × 256 | Extra-large icons and high-resolution screens |
Advertisement
How to prepare the image
- Square: if it is not, we centre it on a transparent square background to avoid distorting it, but it will look smaller inside the icon.
- With a transparent background, so the icon blends into any tab or desktop colour.
- Simple: at 16 pixels, fine details and long text disappear. A symbol or an initial works better than a full logo.
- 256 × 256 pixels or larger, so every size is generated.
How to add the favicon to your website
Upload the file to the root of your website as favicon.ico: browsers look for it there automatically. To declare it explicitly, add this line inside the <head> of your pages:
<link rel="icon" href="/favicon.ico" sizes="any">
If you use WordPress, you do not need the ICO: under Appearance › Customize › Site Identity › Site Icon you can upload a square PNG of at least 512 × 512 pixels directly.
Limitations
- The maximum size of an ICO icon is 256 × 256 pixels.
- Only the first frame is used if the PNG is animated (APNG).
- Up to 20 files at once, 20 MB per file, 100 MB in total and 100 megapixels per image.
Frequently asked questions
Which sizes does the ICO file include?
Up to seven: 16, 24, 32, 48, 64, 128 and 256 pixels, all square. Only the sizes that do not exceed your image are included, so it is never enlarged and does not turn blurry.
How do I add the favicon to my website?
Upload the file to the root of your website as favicon.ico. Browsers look for it there by default, and you can also reference it in the head of your pages with a link rel="icon" tag.
Do I need a favicon.ico if I already have a PNG or SVG favicon?
It is not mandatory, but it is still a good idea: some older browsers and tools, feed readers and programs that save shortcuts request /favicon.ico directly.
Why does my icon look blurry or lose detail at 16 pixels?
Because 16 × 16 pixels is a tiny space: thin strokes and text do not fit. Use a simplified version of your logo, such as a symbol or an initial with good contrast.
Can I use the ICO to change a folder icon in Windows?
Yes. Right-click the folder, go to Properties › Customize › Change Icon and choose the ICO file. Windows will use the right size for each File Explorer view.
Advertisement
Related conversions
Advertisement
Advertisement