Free web tool
PNG to ICO
Turn a PNG, JPG or WebP into an .ico file. Choose every size from 16 to 256 pixels for a Windows icon, or 16, 32 and 48 for a website's favicon. The file is built on your device. Nothing is uploaded.
Bytes of your files sent anywhere: 0
Files are read and converted in this tab, in a background worker. The only requests the page makes are for its own scripts. Your files are never sent anywhere.
How it works
An .ico file holds several copies of one picture at different sizes. Windows picks the one that fits the place it is shown, from 16 pixels in a title bar to 256 pixels in a large Explorer view, and browsers pick the one that fits a tab.
This page draws each size from your picture, halving it step by step so the small sizes stay clean, stores each one as a PNG with transparency, and writes the .ico directory byte by byte. It reads the file back and checks every entry before it offers the download.
For a website, put the file at the root of the site as /favicon.ico. Browsers ask for that address on their own, so it works even without a link tag. Most sites also add a 180 pixel PNG for iPhones with <link rel="apple-touch-icon">.
How to convert PNG to ICO
- Start from a square picture. Use a PNG of 256 by 256 pixels or more, with a transparent background if the icon should have one.
- Pick the sizes. Choose All sizes for a Windows program or shortcut icon, or Favicon for a website.
- Add the picture. Drop it on the box, or click the box to choose it.
- Download. Download the .ico file from its row.
Limits
- Each size is stored as a PNG inside the .ico. Windows Vista and later, macOS and every current browser read these; Windows XP and some older icon editors and resource compilers expect bitmap entries instead.
- A picture that is not square is centered, with transparent space around it.
- Every size is drawn from the same picture, so a detailed logo can blur at 16 pixels. A simpler mark for the small sizes reads better.
- SVG is not accepted. Export a PNG from your drawing app first.
- Needs Chrome or Edge 69, Firefox 105 or Safari 16.4, or later.
Questions
Are my files uploaded?
Which sizes should a favicon have?
How do I add the favicon to my site?
How do I use the icon for a Windows shortcut?
Does it keep transparency?
Is it free?
If this saves you time, you can leave a tip. It helps keep these tools free and online.