Skip to content

PNG to ICO

Turn your logo into a favicon.ico that holds every common icon size in one file, from the 16 px browser tab icon to the 256 px Windows tile. Transparent backgrounds stay transparent.

or drop them anywhere
Open from your cloud

Tip: your phone's file picker also lists Dropbox and Google Drive when their apps are installed.

No upload · runs 100% in your browser
A transparent PNG of blue sneakers turned into one ICO file of 69 KB holding 6 icon sizes, shown side by side: 256, 128, 64, 48, 32, 16 pixels.

Making a favicon.ico

  1. 1

    Start from a big, square logo

    A PNG of 512 × 512 or larger with a transparent background gives the cleanest results. JPG, WebP and SVG files work too; an SVG is drawn at 1024 px first, so it is never enlarged.

  2. 2

    Tick the sizes

    All six are on by default. For a lean favicon, 16, 32 and 48 are enough; keep 256 for Windows desktop shortcuts.

  3. 3

    Square it

    Wide or tall images are either centred with padding (transparent or a colour you pick) or cropped to their middle square.

  4. 4

    Download and rename

    The file is saved as logo.ico. Rename it to favicon.ico and put it in the root folder of your site.

Six sizes, one file

Each icon is scaled from your original, not from a smaller icon, so the 16 px version is as sharp as a 16 px image can be.

Non-square logos handled

Choose padding to keep the whole wordmark, or crop when the important part sits in the middle.

PNG inside, like modern favicons

Every image in the .ico is PNG-compressed, the format browsers and Windows Vista and later read.

Brand assets stay on your machine

The resizing and the ICO writing happen in this browser tab. A logo for a site that is not public yet is never uploaded to build its icon.

Measured: what goes into the .ico

We made icons from two of our own logos: a 512 × 512 round badge with a transparent background and a 600 × 200 wordmark, then read the resulting files back to list their contents.

Source and settings.ico sizeContents
Badge PNG 45 KB, all six sizes39 KB16 (0.7 KB), 32 (1.7 KB), 48 (3.1 KB), 64 (3.9 KB), 128 (8.7 KB), 256 (21 KB)
Badge PNG, 16 + 32 + 48 only5.5 KBThe three sizes browsers and Explorer actually request
Wordmark 600 × 200, padded26 KBWhole logo, transparent bands above and below
Wordmark 600 × 200, cropped32 KBOnly the middle square, the name is cut

The 256 px image is more than half of the badge icon (21 KB of 39 KB), so leaving it out gives a far lighter favicon if browser tabs are all you care about. For the wordmark, padding kept the full name but left it a thin strip at 16 px. Cropping cut the name, and because the middle square of a 600 × 200 image is only 200 px wide, the page warned that the 256 px icon had to be enlarged. For a site icon, a simple mark like the badge on its own reads far better.

Questions & answers

Which icon sizes does a favicon need?

Browser tabs and bookmarks use 16 and 32 px, high-density screens may pick 32 or 48, and Windows uses 48 to 256 px for shortcuts and tiles. Keeping all six in the .ico covers each case; 16, 32 and 48 alone is enough for a website.

I replaced favicon.ico but the browser still shows the old icon. Why?

Browsers cache favicons for a long time. Open the icon URL directly and reload it, or add a version to the link, for example /favicon.ico?v=2. A private window shows the new icon straight away.

Do I still need an ICO file, or is a PNG enough?

Current browsers accept a PNG or SVG favicon through a link tag. Many tools and crawlers still request /favicon.ico from the site root by default, so placing an .ico there avoids 404 errors.

What about the icon on iPhone home screens?

iOS ignores .ico files and looks for apple-touch-icon.png, 180 × 180. Choose Full favicon set: it includes that file with a solid background of your choice, because iOS turns transparent corners black, and an optional margin so the rounded corners don't clip the logo.

What is the maskable icon, and do I need it?

Only if people install your site as an app on Android. The launcher may crop app icons to a circle or another shape; a maskable icon has the logo shrunk into the middle 80% so nothing is cut. Tick the safe-zone option and the set adds icon-maskable-512.png and lists it in the manifest.

My logo text is unreadable in the browser tab. What can I do?

At 16 × 16 pixels there is no room for words. Use a symbol, an initial or a simplified mark for the favicon and keep the full logo for the page itself.

Will the transparent background stay transparent?

Yes, each image is a 32-bit PNG with an alpha channel. If you choose padding with a solid colour, only the added bands are filled; a transparent logo stays clear around its shape.

Adding the favicon to your website

Upload favicon.ico to the root of your site, so it answers at https://example.com/favicon.ico. Then reference it in the <head> of your pages, together with the touch icon for Apple devices:

<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">

sizes="any" tells the browser that the .ico holds several sizes to choose from. If you also have an SVG version of the logo, add <link rel="icon" href="/favicon.svg" type="image/svg+xml"> and change the .ico line to sizes="32x32": with any, Chrome keeps picking the .ico even though it could draw the SVG. Pick an SVG logo here with Full favicon set and the snippet already says so.

The full favicon set, file by file

Each platform looks in its own place, which is why a complete favicon is several files. Tick Full favicon set (ZIP) above and you get these, plus a README with the same list:

What is in the favicon set ZIP and who reads each file
FileWho looks for itHow they find it
favicon.ico (16, 32, 48)Desktop browsers, bookmarks, feed readers, WindowsThe link tag, or simply /favicon.ico at the site root
favicon.svgBrowsers with SVG icon supportOnly when you started from an SVG; your file, untouched
apple-touch-icon.png (180)iPhone and iPad “Add to Home Screen”rel="apple-touch-icon", else /apple-touch-icon.png
icon-192.png, icon-512.pngAndroid home screen, install prompts, splash screensListed in the manifest
icon-maskable-512.pngAndroid launchers that crop icons to a shapeListed in the manifest with "purpose": "maskable"
site.webmanifestBrowsers deciding how an installed site looksrel="manifest"; holds the name, short name and colors you type

The HTML under the options lists exactly the files in your ZIP, with a Copy HTML button. Every size is drawn from your original with the same step-by-step downscaling as the .ico, so a 1024 px logo still gives a clean 16 px icon; an icon that small usually reads better still if you simplify the artwork for it by hand.

Many site builders and CMSs, WordPress among them, have a Site Icon setting that asks for a square PNG and writes these tags for you. In that case upload the original 512 px PNG there instead.

Designing an icon that survives 16 pixels

  • Simplify. One bold shape or letter, no fine lines or small text.
  • Use contrast. Tabs can be light or dark; a mark with its own background plate stays visible on both.
  • Fill the square. Large empty margins make the icon look smaller than its neighbours.

To prepare the artwork first, crop it to a square or remove a background with the Pro editor. The image format guide explains where ICO, PNG and SVG each fit.

Learn more