Convert PNG to ICO in your browser
Build a favicon.ico with the sizes browsers actually request. Each one is drawn from your original, not resampled from the entry above it. Nothing leaves this tab.
or browse your device. Everything is processed on this device
The tab icon every current browser prefers is a PNG, and it is sent on every page load. Cutting its palette usually halves it with nothing visible lost.
Compress the PNG tooHow to convert PNG to ICO
A square one works best. It is read straight off your disk into this tab and never uploaded.
The default writes 16, 32 and 48, which is what browsers and the Windows taskbar ask for. Add the larger sizes only if the icon will appear on a desktop.
Put it at the root of your site. Browsers look for /favicon.ico without being told to, which is the whole reason this format is still here.
What an .ico actually is, and whether you still need one
An .ico is not a picture, it is a container holding several pictures at different sizes. When Windows draws your site in a taskbar it takes the 32px entry; when a browser draws a tab it takes the 16px one. That is why the file is bigger than the PNG you started with: you are getting three or four images instead of one.
A modern site does not need it for the tab any more. A single PNG or SVG declared with a link tag covers every browser released this decade, and an SVG will look right at any size on any screen. What .ico still covers is the request no markup controls: browsers, feed readers and link previewers ask for /favicon.ico directly, and the Windows shell wants a real icon file when somebody pins your site.
So the honest answer is both. Ship an SVG and a 180px PNG for the tab and the phone home screen, and keep a small favicon.ico at the root for everything that asks without looking. Three entries is plenty for that job, which is why the default here stops at 48.
PNG to ICO FAQ
Why is the .ico bigger than my PNG?
Because it holds more than one image. A favicon.ico with 16, 32 and 48px entries is three complete pictures in one file, so it is roughly the sum of three PNGs plus a small directory. That is the format working as designed, not a compression failure. If the size matters, the largest entry costs the most, so stay on the 16, 32 and 48 ladder and cut the colours on a simple mark.
What sizes should a favicon have?
16, 32 and 48 covers everything that still reads an .ico: 16 for the tab and address bar, 32 for a high-DPI tab and the Windows taskbar, 48 for the Windows shell. The 256px entry that most generators add is for desktop icons, is usually most of the file, and no browser has ever requested it. It is offered here as a choice rather than included by default.
My logo is not square. What happens to it?
It is scaled to fit inside the square and centred, with the space around it left transparent. Nothing is cropped away. That keeps the whole mark visible but leaves it smaller in the frame than it could be, so if the icon needs to fill the square, crop the PNG to a square before you convert it.
Does the transparent background survive?
Yes. Every entry is stored as a 32-bit PNG inside the icon, which keeps the full alpha channel, so a logo meant to sit on a dark or coloured background still will. This is also why the entries are PNG rather than the raw bitmaps older .ico files use: those carry a one-bit mask that turns soft edges into jagged ones.
Where do I put the file?
At the root of your site, named favicon.ico, so it answers a request for /favicon.ico. You can also point at it explicitly with a link tag, but the reason to keep the conventional name and location is the clients that never read your markup and just ask for that path.
Are my PNG files uploaded to convert them?
No. The PNG is decoded and the ICO is written by your own browser, in this tab. There is no upload endpoint in the site for a file to go to, which you can check in your network tools: convert something and watch that no request carries it. Disconnect from the network after the page loads and it still works.
Does this remove EXIF, GPS and AI metadata?
Yes, every time, and there is no way to turn it off. The image is decoded to pixels and encoded again from those pixels alone, so EXIF and GPS, the XMP packet, embedded colour profiles, and any Content Credentials or AI-generation tags the file arrived with do not survive. There is no switch for this, because there is no way to keep them. What no compressor can remove is a watermark written into the pixels themselves, such as the invisible marks some image generators add: those survive re-encoding here and everywhere else.
Related
Same format joins the queue. Anything else re-routes to its own tool.