EN

Convert a PNG to ICO (favicon)

A single .ico file that holds all the sizes needed for the browser tab, bookmarks and Windows.

Original photo
Compressed photo
2.1 MB548 KB
Example: photo.jpg2.1 MB → 548 KB
-75 %
More settings

The ↑ ↓ arrows change the page order.

    Crop
    Image to crop
    Original image Processed image

    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

    Installing the favicon on a website

    1. rename the file to favicon.ico
    2. place it at the root of the site: browsers look for it at that address by default
    3. 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.

    Related tools