What the ICO file contains
The .ico file bundles several square images: 16, 32, 48, 64, 128 and 256 pixels. The browser or Windows picks the size that fits (16 or 32 px in a tab, 48 px and up for a desktop icon). Each size is saved as PNG inside the file, which all current browsers and Windows since Vista can read.
If your source image is smaller than 256 px, the sizes that would require enlarging it are not added.
Preparing a good image
- start from a square image of at least 256 × 256 px. A rectangular image is cropped to the central square; the “Crop” button lets you choose another area
- a PNG with a transparent background gives the best result: transparency is kept
- keep it simple: at 16 px, text or fine details become unreadable. An initial or a pictogram works better
- an SVG is also accepted
Installing the favicon on a website
- rename the file to favicon.ico
- place it at the root of the site: browsers look for it at that address by default
- if you like, add the line <link rel="icon" href="/favicon.ico" sizes="any"> in the head of your pages
CMSs like WordPress or Shopify also offer a “site icon” or “favicon” field in their settings: they often accept a square PNG, but ICO remains the most universal format.
No file upload
The ICO file is assembled in your browser. Your logo is not sent anywhere.
Frequently asked questions
Which sizes does the favicon contain?
16, 32, 48, 64, 128 and 256 pixels, up to the size of your source image.
Is transparency kept?
Yes, the PNG's transparent areas stay transparent in the ICO.
Can I start from a JPG?
Yes. Since a JPG has no transparency, the image's background will remain visible in the icon.

